:root {
    --background-color: #ffffff;
    --text-color: #202124;
    --text-color-light: #5f6368;
    --primary-color: #34a853;
    --primary-hover: #2d8f47;
    --accent-color: #fbbc04;
    --border-color: #dadce0;
    --hover-color: #f8f9fa;
    --container-width: 1200px;
    --font-family: "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    line-height: 1.5;
    color: var(--text-color);
    background: linear-gradient(180deg,
        #e8f5e9 0%,
        #f1f8f2 25%,
        #f8fdf9 50%,
        #fafcfa 75%,
        #ffffff 100%);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 4px;
    }
}

/* Header - Sticky navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(232, 234, 237, 0.5);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo-section {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-size: 22px;
    font-weight: 500;
}

.logo-icon {
    width: 26px;
    height: 26px;
    margin-right: 8px;
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 500;
    margin: 0;
    color: var(--text-color);
}

.logo-text .site-tagline {
    display: none;
}

.language-switcher {
    display: flex;
    gap: 4px;
    background: var(--hover-color);
    padding: 4px;
    border-radius: 20px;
}

.language-switcher .btn-secondary {
    background: transparent;
    border: none;
    padding: 8px 16px;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-color-light);
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.language-switcher .btn-secondary:hover:not(.active) {
    background: rgba(52, 168, 83, 0.1);
    color: var(--primary-color);
}

.language-switcher button.btn-secondary.active {
    background: var(--primary-color) !important;
    color: white !important;
}

button#lang-de.active,
button#lang-en.active {
    background: var(--primary-color) !important;
    color: white !important;
}

/* Hero Section */
.hero-section {
    background: transparent;
    text-align: center;
    padding: 120px 0 80px;
    position: relative;
}

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

.hero-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
    object-fit: contain;
}

.hero-headline {
    font-size: 56px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.social-proof-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px 16px;
    background: var(--hover-color);
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.rating-stars {
    font-size: 12px;
}

.rating-text {
    font-size: 13px;
    color: var(--text-color-light);
    font-weight: 500;
}

.users-count {
    font-size: 13px;
    color: var(--text-color-light);
    opacity: 0.8;
    margin-bottom: 32px;
    margin-top: 4px;
    font-weight: 400;
}

.hero-subhead {
    font-size: 20px;
    max-width: 580px;
    margin: 0 auto 32px;
    color: var(--text-color-light);
}

.hero-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: nowrap;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 32px;
    font-size: 13px;
    color: var(--text-color-light);
    flex-wrap: nowrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #34d399;
    border-radius: 50%;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
    letter-spacing: 0.25px;
}

.cta-button:hover {
    background: var(--primary-hover);
    box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.cta-button.secondary {
    background: #fff;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.cta-button.secondary:hover {
    background: var(--hover-color);
    border-color: var(--primary-color);
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    border: 0;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(52,168,83,.3), 0 1px 3px 1px rgba(52,168,83,.15);
    transition: all 0.2s ease;
    width: 100%;
    font-family: var(--font-family);
    letter-spacing: 0.25px;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    box-shadow: 0 1px 3px 0 rgba(52,168,83,.4), 0 4px 8px 3px rgba(52,168,83,.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Apple-style showcase section */
.apple-showcase {
    background: transparent;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.showcase-headline {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.04em;
    color: #1d1d1f;
}

.showcase-description {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
    color: #6e6e73;
    margin: 0;
}

.showcase-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-screenshot {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.device-screenshot:hover {
    transform: scale(1.02);
}

/* Features Section */
.features {
    padding: 40px 0 80px;
    background: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-color-light);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.2s ease;
}

.feature-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.feature-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 16px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-color);
    stroke-width: 1.5;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-color-light);
    font-size: 14px;
    line-height: 1.5;
}

/* Main content area */
main {
    padding: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: transparent;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    transform: translateY(-4px);
}

.testimonial-rating {
    font-size: 14px;
    margin-bottom: 12px;
}

.testimonial-text {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.author-name {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-color);
}

.author-location {
    font-size: 12px;
    color: var(--text-color-light);
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Responsive testimonials */
@media (max-width: 968px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: transparent;
}

.faq-container {
    max-width: 800px;
    margin: 48px auto 0;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

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

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: #ffffff;
    border: none;
    padding: 24px 32px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    font-family: var(--font-family);
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background: var(--hover-color);
}

.faq-item.active .faq-question {
    background: var(--hover-color);
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    stroke: var(--text-color-light);
    width: 24px;
    height: 24px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    stroke: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    padding: 0 32px 24px 32px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color-light);
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-question {
        font-size: 15px;
        padding: 20px 24px;
    }

    .faq-answer p {
        font-size: 14px;
        padding: 0 24px 20px 24px;
    }
}

/* Premium Results Section - New Design */
.result-image-top {
    margin: -24px -24px 0 -24px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.result-image-hero {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.result-content {
    padding: 24px;
}

#additionalInfo {
    padding: 0 24px 24px 24px;
}

.tree-icon {
    font-size: 16px;
    margin-right: 4px;
}

.result-variety-name {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.result-scientific-name {
    font-size: 15px;
    color: var(--text-color-light);
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
}

/* Confidence Section */
.confidence-section {
    margin-bottom: 20px;
}

.confidence-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.confidence-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
}

.confidence-value-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

.confidence-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

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

.result-section {
    padding: 24px;
    border-top: 1px solid var(--border-color);
}

.result-section-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 12px 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-section-title::before {
    content: '';
    width: 4px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 2px;
}

.result-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color-light);
    margin: 0 0 20px 0;
}

/* Feature Tags */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tags-list {
    display: contents;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--hover-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 13px;
    color: var(--text-color);
    font-weight: 500;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    padding: 24px;
    background: var(--hover-color);
    border-radius: 8px;
}

.result-grid .result-section-title::before {
    display: none;
}

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

.result-list li {
    padding: 8px 0 8px 24px;
    font-size: 14px;
    color: var(--text-color-light);
    position: relative;
    line-height: 1.5;
}

.result-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

/* Action Buttons */
.result-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
    position: relative;
    min-height: 52px;
}

/* When one button is hidden, the other takes full width */
.result-actions:has(#detailsBtn[style*="display: none"]) {
    grid-template-columns: 1fr;
}

.result-actions:has(#diagnosisBtn[style*="display: none"]) {
    grid-template-columns: 1fr;
}

/* When both buttons are hidden, hide the entire container */
.result-actions:has(#detailsBtn[style*="display: none"]):has(#diagnosisBtn[style*="display: none"]) {
    display: none;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-family);
    grid-column: auto;
    opacity: 1;
}

/* Loading state animation */
.btn-action.btn-loading {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: auto;
    animation: expandButton 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes expandButton {
    0% {
        width: calc(50% - 6px);
        position: relative;
    }
    100% {
        width: 100%;
        position: absolute;
    }
}

.btn-action svg {
    width: 20px;
    height: 20px;
}

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

.btn-action-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 168, 83, 0.3);
}

.btn-action-secondary {
    background: #fbbc04;
    color: white;
}

.btn-action-secondary:hover:not(:disabled) {
    background: #f9ab00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(251, 188, 4, 0.3);
}

.btn-action:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Section Divider */
.section-divider {
    margin: 48px 0 32px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.section-divider:first-child {
    margin-top: 24px;
}

.section-divider-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-divider-icon {
    font-size: 26px;
}

/* Details Section - iOS Style */
.detail-glance-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    position: relative;
}

.detail-glance-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.detail-glance-icon {
    font-size: 20px;
}

.detail-glance-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-glance-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

.detail-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color-light);
    margin-bottom: 24px;
}

.detail-section {
    margin-bottom: 32px;
}

.detail-section-header {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-icon {
    font-size: 22px;
}

/* Expert Quote */
.detail-expert-quote {
    background: linear-gradient(135deg, #e3f2fd 0%, #f1f8ff 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(66, 133, 244, 0.2);
}

.quote-text {
    font-size: 15px;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0 0 12px 0;
}

.quote-author {
    font-size: 13px;
    color: var(--text-color-light);
    margin: 0;
    font-style: normal;
}

/* Characteristics Grid */
.detail-characteristics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.characteristic-card {
    background: var(--hover-color);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.characteristic-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.characteristic-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
}

/* Care & Maintenance */
.detail-care-list {
    background: var(--hover-color);
    padding: 16px;
    border-radius: 12px;
}

.care-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}

.care-item:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.care-number {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.care-text {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.5;
}

/* Common Mistakes */
.detail-mistakes-list {
    background: #fff3e0;
    padding: 16px;
    border-radius: 12px;
}

.mistake-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
}

.mistake-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 152, 0, 0.2);
}

.mistake-icon {
    width: 24px;
    height: 24px;
    background: #ff9800;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.mistake-text {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.5;
}

/* Growth Details */
.detail-growth-card {
    background: var(--hover-color);
    padding: 16px;
    border-radius: 12px;
}

.growth-item {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
}

.growth-item:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.growth-icon {
    font-size: 24px;
    text-align: center;
}

.growth-label {
    font-size: 14px;
    color: var(--text-color-light);
}

.growth-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    text-align: right;
}

/* Seasonal Care Accordion */
.seasonal-care-accordion {
    border-radius: 12px;
    overflow: hidden;
}

.season-section {
    background: var(--hover-color);
    margin-bottom: 8px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.season-spring {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
}

.season-summer {
    background: linear-gradient(135deg, #fff3e0 0%, #fffaf0 100%);
}

.season-fall {
    background: linear-gradient(135deg, #fbe9e7 0%, #fff5f3 100%);
}

.season-winter {
    background: linear-gradient(135deg, #e3f2fd 0%, #f1f8ff 100%);
}

.season-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    user-select: none;
}

.season-header:hover {
    background: rgba(0, 0, 0, 0.03);
}

.season-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.season-icon {
    font-size: 24px;
}

.season-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 300;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
}

.season-spring .season-toggle { background: #4caf50; color: white; }
.season-summer .season-toggle { background: #ff9800; color: white; }
.season-fall .season-toggle { background: #f57c00; color: white; }
.season-winter .season-toggle { background: #2196f3; color: white; }

.season-content {
    padding: 0 16px 16px 16px;
    display: none;
}

.season-section.open .season-content {
    display: block;
}

.season-task {
    padding: 8px 0;
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.5;
}

.season-fertilizer {
    margin-top: 12px;
    padding: 12px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.fertilizer-icon {
    font-size: 18px;
}

/* Diagnosis Styles - iOS Design */
.diagnosis-info-card {
    background: var(--hover-color);
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.diagnosis-label {
    font-size: 13px;
    color: var(--text-color-light);
    margin-bottom: 4px;
}

.diagnosis-value {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.5;
}

.diagnosis-list-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin: 16px 0 8px 0;
}

.diagnosis-list-item {
    font-size: 14px;
    color: var(--text-color);
    padding: 8px 0;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.diagnosis-highlight-box {
    background: linear-gradient(135deg, #fff8e1 0%, #fffef5 100%);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 12px 0;
}

.diagnosis-highlight-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.diagnosis-highlight-content {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

.diagnosis-resistance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: var(--hover-color);
    border-radius: 8px;
    margin-bottom: 6px;
}

.resistance-name {
    font-size: 14px;
    color: var(--text-color);
}

.resistance-value {
    font-size: 13px;
    color: var(--text-color-light);
    font-style: italic;
}

.diagnosis-disease-card {
    background: var(--hover-color);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.disease-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.disease-symptoms,
.disease-prevention,
.disease-treatment {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
    margin-top: 6px;
}

.disease-symptoms strong,
.disease-prevention strong,
.disease-treatment strong {
    color: var(--text-color-light);
}

/* Content Action Buttons */
.content-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.btn-content-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--hover-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-content-action:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.btn-content-action svg {
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .content-actions {
        flex-direction: column;
    }
    .result-actions {
        grid-template-columns: 1fr;
    }

    .result-content {
        padding: 12px;
    }

    .result-variety-name {
        font-size: 24px;
    }

    .result-image-hero {
        height: 200px;
    }

    .detail-characteristics-grid {
        grid-template-columns: 1fr;
    }

    .detail-section-header {
        font-size: 18px;
    }

    .detail-glance-box {
        padding: 16px;
        margin-bottom: 20px;
    }

    .detail-section {
        margin-bottom: 24px;
    }

    .section-divider {
        margin: 32px 0 24px 0;
    }

    .section-divider-title {
        font-size: 20px;
    }

    .detail-info-card {
        padding: 12px 14px;
    }

    .diagnosis-info-card {
        padding: 12px 14px;
    }
}

@media (max-width: 480px) {
    .result-content {
        padding: 16px;
    }

    .result-section {
        padding: 16px;
    }

    #additionalInfo {
        padding: 0 16px 16px 16px;
    }

    #additionalContent {
        padding: 0;
    }

    .result-variety-name {
        font-size: 22px;
    }

    .result-confidence {
        font-size: 12px;
    }

    .result-scientific-name {
        margin: 0 0 16px 0;
    }

    /* Detail sections consistent padding */
    .detail-glance-box {
        padding: 12px;
        margin-bottom: 16px;
    }

    .detail-glance-title {
        font-size: 12px;
    }

    .detail-glance-text {
        font-size: 14px;
    }

    .detail-section {
        margin-bottom: 32px;
    }

    .detail-expert-quote {
        padding: 12px;
    }

    .detail-care-list {
        padding: 12px;
    }

    .detail-mistakes-list {
        padding: 12px;
    }

    .detail-growth-card {
        padding: 12px;
    }

    .detail-info-card {
        padding: 10px 12px;
    }

    /* Diagnosis sections consistent padding */
    .diagnosis-info-card {
        padding: 10px 12px;
        margin-bottom: 8px;
    }

    .diagnosis-disease-card {
        padding: 10px 12px;
        margin-bottom: 10px;
    }

    .diagnosis-highlight-box {
        padding: 10px 12px;
        margin-bottom: 12px;
    }

    .diagnosis-list-item {
        padding: 6px 0;
        font-size: 13px;
    }

    /* Section dividers */
    .section-divider {
        margin: 48px 0 32px 0;
        padding-bottom: 16px;
    }

    .section-divider:first-child {
        margin-top: 24px;
    }

    .section-divider-title {
        font-size: 18px;
    }

    .detail-section-header {
        font-size: 16px;
        margin-bottom: 16px;
    }

    /* Action buttons */
    .content-actions {
        margin-top: 20px;
        padding-top: 16px;
        gap: 10px;
    }

    .btn-content-action {
        padding: 10px 14px;
        font-size: 14px;
    }

    .result-actions {
        gap: 10px;
    }

    /* Lists */
    .result-list li {
        font-size: 13px;
    }
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.btn-secondary:hover {
    background: var(--hover-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-family);
    border: none;
    min-height: 52px;
}

.btn-icon svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-icon:hover svg {
    transform: scale(1.1);
}

.btn-green {
    background: linear-gradient(135deg, #34a853 0%, #2d8f47 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(52, 168, 83, 0.2);
}

.btn-green:hover {
    background: linear-gradient(135deg, #2d8f47 0%, #248038 100%);
    box-shadow: 0 4px 12px rgba(52, 168, 83, 0.35);
    transform: translateY(-2px);
}

.btn-green:active {
    transform: translateY(0);
}

.btn-yellow {
    background: linear-gradient(135deg, #fbbc04 0%, #f9ab00 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(251, 188, 4, 0.2);
}

.btn-yellow:hover {
    background: linear-gradient(135deg, #f9ab00 0%, #e09600 100%);
    box-shadow: 0 4px 12px rgba(251, 188, 4, 0.35);
    transform: translateY(-2px);
}

.btn-yellow:active {
    transform: translateY(0);
}

/* SEO Content Section */
.seo-content-section {
    padding: 80px 0;
    background: transparent;
}

.seo-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.seo-content h2 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 32px;
    color: var(--text-color);
    line-height: 1.3;
}

.seo-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color-light);
    margin-bottom: 24px;
    text-align: left;
}

.seo-content p:last-child {
    margin-bottom: 0;
}

.upload-section {
    max-width: 800px;
    margin: 0 auto;
}

.card {
    background: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.card h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--text-color);
}

.upload-card {
    background: var(--hover-color);
    border: 2px dashed var(--border-color);
    padding: 48px 24px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    margin: 24px 0;
}

.upload-card:hover {
    border-color: var(--primary-color);
    background: rgba(52, 168, 83, 0.05);
}

.upload-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    color: var(--primary-color);
}

.upload-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
}

.upload-hint {
    font-size: 13px;
    color: var(--text-color-light);
}

/* Trust badges */
.trust-badges {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-badge {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--hover-color);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color-light);
    border: 1px solid var(--border-color);
}

/* Quick actions */
.quick-actions {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.quick-pill {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: #fff;
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.quick-pill:hover {
    background: rgba(52, 168, 83, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

/* Usage badge */
.usage-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--hover-color);
    color: var(--text-color-light);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Sidebar removed - focusing on single column like mirrortotv */

/* Footer */
footer {
    padding: 32px 0;
    text-align: center;
    font-size: 12px;
    color: var(--text-color-light);
    background: transparent;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

footer p {
    margin: 0;
}

/* Loading spinner */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spinner {
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Image preview */
.image-preview {
    position: relative;
    margin: 24px 0;
}

.image-preview img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.remove-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.2s ease;
}

.remove-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Modal styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal > div {
    background: white;
    padding: 32px;
    border-radius: 8px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 8px 16px rgba(0,0,0,.15);
}

.modal h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 400;
    color: var(--text-color);
}

.modal p {
    margin: 0 0 24px 0;
    color: var(--text-color-light);
    font-size: 14px;
}

.modal input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 16px;
    font-family: var(--font-family);
    font-size: 14px;
}

.modal input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        height: 56px;
    }

    .logo-section {
        font-size: 18px;
    }

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

    .hero-section {
        padding: 80px 0 60px;
    }

    .hero-headline {
        font-size: 36px;
        line-height: 1.2;
    }

    .hero-subhead {
        font-size: 18px;
    }

    .showcase-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 24px;
    }

    .showcase-headline {
        font-size: 32px;
    }

    .showcase-description {
        font-size: 18px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .section-title {
        font-size: 28px;
    }

    .card {
        padding: 24px;
    }

    .upload-card {
        padding: 32px 20px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0 50px;
    }

    .hero-headline {
        font-size: 32px;
    }

    .hero-subhead {
        font-size: 16px;
    }

    .hero-cta-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 14px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .showcase-headline {
        font-size: 28px;
    }

    .showcase-description {
        font-size: 16px;
    }

    .trust-indicators {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 24px;
    }

    .trust-item {
        white-space: nowrap;
    }
}
