/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #1a6b3c;
    --primary-dark: #145530;
    --primary-light: #e8f5ee;
    --accent: #e67e22;
    --accent-dark: #cf6d17;
    --danger: #e74c3c;
    --warning: #f39c12;
    --success: #27ae60;
    --dark: #1a1a2e;
    --gray-900: #2d2d44;
    --gray-700: #555;
    --gray-500: #888;
    --gray-300: #ccc;
    --gray-200: #e5e5e5;
    --gray-100: #f5f5f5;
    --white: #fff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 40px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: 0.25s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-900);
    background: var(--gray-100);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4 {
    line-height: 1.3;
    color: var(--dark);
}

/* ===== HEADER ===== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark);
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-ai {
    color: var(--primary);
}

.main-nav {
    display: flex;
    gap: 28px;
}

.main-nav a {
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
}

.main-nav a:hover {
    color: var(--primary);
    text-decoration: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #16213e 50%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 48px;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-cards-4 {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1100px;
}

@media (max-width: 960px) {
    .hero-cards-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hero-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    cursor: pointer;
    transition: all var(--transition);
}

.hero-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.hero-card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.hero-card h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.hero-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* ===== DIAGNOSTIC SECTIONS ===== */
.diagnostic-section {
    padding: 40px 0 60px;
    background: var(--white);
    min-height: 60vh;
}

.diagnostic-section h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.section-desc {
    color: var(--gray-700);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 24px;
    padding: 8px 0;
    transition: color var(--transition);
}

.back-btn:hover {
    color: var(--primary-dark);
}

/* ===== UPLOAD AREA ===== */
.upload-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.upload-type-tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.upload-area {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
    background: var(--gray-100);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-area:hover, .upload-area.dragover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.upload-placeholder {
    pointer-events: none;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.upload-hint {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-top: 8px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    width: 100%;
}

.preview-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--gray-200);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    background: rgba(231,76,60,0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.preview-remove:hover {
    background: var(--danger);
    transform: scale(1.1);
}

.upload-actions {
    margin-top: 24px;
    text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
}

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

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

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-900);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--gray-300);
}

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

.btn-accent:hover:not(:disabled) {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* ===== BITE INFO CARDS ===== */
.bite-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.bite-info-card {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.bite-info-card strong {
    display: block;
    margin-bottom: 4px;
    color: var(--dark);
}

.bite-info-card p {
    font-size: 0.9rem;
    color: var(--gray-700);
}

/* ===== QUESTIONNAIRE ===== */
.questionnaire-progress {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--success));
    border-radius: 4px;
    transition: width 0.4s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--gray-500);
    white-space: nowrap;
}

.question-card {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 24px;
}

.question-card h3 {
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.question-card .question-number {
    display: inline-block;
    background: var(--primary);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-size: 0.85rem;
    margin-right: 10px;
    font-weight: 600;
}

.option-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    font-size: 0.95rem;
}

.option-item:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.option-item.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    font-weight: 600;
}

.option-item input[type="radio"] {
    display: none;
}

.option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: var(--transition);
}

.option-item.selected .option-radio {
    border-color: var(--primary);
}

.option-item.selected .option-radio::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.questionnaire-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

/* ===== RESULTS ===== */
.results-section {
    background: var(--gray-100);
}

.result-main-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    text-align: center;
    margin-bottom: 24px;
}

.result-pest-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.result-pest-latin {
    font-size: 1rem;
    color: var(--gray-500);
    font-style: italic;
    margin-bottom: 20px;
}

.confidence-meter {
    max-width: 300px;
    margin: 0 auto 24px;
}

.confidence-bar-bg {
    height: 12px;
    background: var(--gray-200);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.confidence-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease;
}

.confidence-bar-fill.high {
    background: linear-gradient(90deg, var(--success), #2ecc71);
}

.confidence-bar-fill.medium {
    background: linear-gradient(90deg, var(--warning), #f1c40f);
}

.confidence-bar-fill.low {
    background: linear-gradient(90deg, var(--danger), #e74c3c);
}

.confidence-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.confidence-label {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.result-signs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.result-sign-tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.result-description {
    margin-top: 24px;
    text-align: left;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    color: var(--gray-700);
    line-height: 1.7;
}

/* Other results cards */
.result-other {
    margin-top: 20px;
}

.result-other h4 {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.other-pest-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.other-pest-item {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 0.9rem;
}

.other-pest-item .pest-name {
    font-weight: 600;
    color: var(--dark);
}

.other-pest-item .pest-conf {
    color: var(--gray-500);
    font-size: 0.8rem;
    margin-left: 4px;
}

/* Risk Level */
.result-risk {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

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

.risk-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.risk-low .risk-icon { background: #e8f8f0; }
.risk-medium .risk-icon { background: #fef5e7; }
.risk-high .risk-icon { background: #fce4e4; }

.risk-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.risk-low .risk-title { color: var(--success); }
.risk-medium .risk-title { color: var(--warning); }
.risk-high .risk-title { color: var(--danger); }

.risk-explanation {
    color: var(--gray-700);
    line-height: 1.7;
}

/* Actions */
.result-actions {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.result-actions h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

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

.action-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.action-list li:last-child {
    border-bottom: none;
}

.action-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    text-align: center;
    font-size: 1rem;
}

/* CTA Boxes */
.result-cta, .result-pdf-cta {
    margin-bottom: 24px;
}

.cta-box {
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

.warning-box {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border: 1px solid #ffcc80;
}

.warning-box h3 {
    color: #e65100;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.warning-box p {
    color: #bf360c;
    margin-bottom: 24px;
}

.pdf-box {
    background: linear-gradient(135deg, var(--primary-light), #c8e6c9);
    border: 1px solid #a5d6a7;
}

.pdf-box h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.pdf-box p {
    color: var(--gray-700);
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pdf-price {
    margin-bottom: 20px;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.price-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ===== QUOTE FORM ===== */
.quote-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

.quote-success {
    text-align: center;
    padding: 60px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.quote-success h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.quote-success p {
    color: var(--gray-700);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 80px 0;
    background: var(--white);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--gray-700);
    font-size: 0.9rem;
}

/* ===== PEST INFO (SEO) ===== */
.pest-info-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.pest-info-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 12px;
}

.pest-info-section > .container > .section-desc {
    text-align: center;
    margin-bottom: 48px;
}

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

.pest-info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.pest-info-card:hover {
    box-shadow: var(--shadow-md);
}

.pest-info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.pest-info-card p {
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 8px;
    line-height: 1.6;
}

.pest-info-card p:last-child {
    margin-bottom: 0;
}

.pest-info-card strong {
    color: var(--dark);
}

/* ===== CONTACT ===== */
.contact-section {
    padding: 60px 0;
    background: var(--white);
    text-align: center;
}

.contact-section h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.contact-section > .container > p {
    color: var(--gray-700);
    margin-bottom: 24px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 32px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-note {
    margin-top: 8px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ===== ADMIN LINK ===== */
.admin-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    opacity: 0.3;
    transition: opacity var(--transition);
}

.admin-link:hover {
    opacity: 1;
    text-decoration: none;
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

.loading-card p {
    font-size: 1.1rem;
    color: var(--gray-700);
}

.loading-card .loading-sub {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 8px;
}

/* ===== NOTIFICATION ===== */
.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    z-index: 200;
    max-width: 400px;
    animation: slideIn 0.3s ease;
    border-left: 4px solid var(--primary);
}

.notification.error {
    border-left-color: var(--danger);
}

.notification.success {
    border-left-color: var(--success);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== RESULT DETAILS ===== */
.result-details {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.detail-item {
    padding: 16px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}

.detail-item .detail-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-item .detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 20px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-md);
    }

    .main-nav.open {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-card {
        padding: 24px 20px;
    }

    .bite-info-cards {
        grid-template-columns: 1fr;
    }

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

    .pest-info-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .upload-area {
        padding: 24px;
    }

    .question-card {
        padding: 20px;
    }

    .result-main-card {
        padding: 24px;
    }

    .result-pest-name {
        font-size: 1.5rem;
    }

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

    .cta-box {
        padding: 24px;
    }

    .questionnaire-nav {
        flex-direction: column;
    }

    .questionnaire-nav .btn {
        width: 100%;
    }
}

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

    .hero h1 {
        font-size: 1.5rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .other-pest-list {
        flex-direction: column;
    }
}
