/* ============================================================
   Apple Varieties NY - Main Stylesheet
   Natural, clean, premium farm-to-door aesthetic
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --primary-color: #2d5a27;
    --primary-light: #4a8c3f;
    --primary-dark: #1a3a17;
    --accent-color: #d4382c;
    --accent-light: #e85d52;
    --gold-color: #c8a84e;
    --gold-light: #f0d878;
    --warm-bg: #faf7f2;
    --warm-bg-alt: #f5f0e8;
    --card-bg: #ffffff;
    --text-dark: #2c2c2c;
    --text-body: #444444;
    --text-muted: #777777;
    --text-light: #999999;
    --border-color: #e8e2d8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s ease;
    --font-main: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Noto Serif SC', 'Songti SC', Georgia, serif;
    --max-width: 1200px;
    --white: #ffffff;
    --dark-color: #1a2e1a;
    --green-gradient: linear-gradient(135deg, #2d5a27 0%, #4a8c3f 100%);
    --red-gradient: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    --gold-gradient: linear-gradient(135deg, #c8a84e 0%, #f0d878 100%);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-main);
    color: var(--text-body);
    background: var(--warm-bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-color); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--text-dark); line-height: 1.4; }

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

/* ---- Navigation ---- */
.navbar {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 10px rgba(0,0,0,0.06);
    transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo a:hover { opacity: 0.85; transform: scale(1.02); }
.logo-icon {
    font-size: 22px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #e8f5e3 0%, #c8e6c0 50%, #a8d89a 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(45,90,39,0.15), inset 0 1px 2px rgba(255,255,255,0.6);
    position: relative;
    flex-shrink: 0;
}
.logo-icon::after {
    content: '';
    position: absolute;
    top: -3px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 0 50% 0 50%;
    transform: rotate(-15deg);
}
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.3px;
    line-height: 1.2;
}
.logo-text .logo-highlight {
    color: var(--accent-color);
    font-weight: 800;
}
.logo-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    display: block;
    margin-top: 1px;
    letter-spacing: 2px;
    font-family: var(--font-main);
    font-weight: 400;
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links a {
    padding: 8px 14px;
    font-size: 0.9rem;
    color: var(--text-body);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    background: rgba(45,90,39,0.08);
}
.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--green-gradient);
    color: var(--white) !important;
    padding: 10px 18px !important;
    border-radius: 50px !important;
    font-weight: 600;
    font-size: 0.85rem !important;
}
.nav-phone:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--white) !important; background: var(--primary-dark) !important; }
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* ---- Hero Section ---- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 70px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.45);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,58,23,0.7) 0%, rgba(45,90,39,0.4) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 40px 20px;
    color: var(--white);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.92;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}
.btn-primary:hover { background: var(--accent-light); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); color: var(--white); }
.btn-green { background: var(--green-gradient); color: var(--white); }
.btn-green:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--white); }
.btn-gold { background: var(--gold-gradient); color: var(--text-dark); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-outline:hover { background: var(--primary-color); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* ---- Section Headers ---- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 12px;
}
.section-header .subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}
.section-header .divider {
    width: 60px;
    height: 3px;
    background: var(--green-gradient);
    margin: 16px auto 0;
    border-radius: 3px;
}

/* ---- Apple Cards ---- */
.apple-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.apple-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}
.apple-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.apple-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.apple-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.apple-card:hover .apple-card-img img { transform: scale(1.05); }
.apple-card-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.tag-red { background: var(--accent-color); color: var(--white); }
.tag-green { background: var(--primary-color); color: var(--white); }
.tag-gold { background: var(--gold-color); color: var(--text-dark); }
.tag-blue { background: #3498db; color: var(--white); }
.apple-card-body { padding: 20px; }
.apple-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}
.apple-card-body .en-name {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

/* ---- Flavor Bars ---- */
.flavor-bars { margin: 12px 0; }
.flavor-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 0.85rem;
}
.flavor-bar .label {
    width: 40px;
    text-align: right;
    color: var(--text-muted);
    font-weight: 500;
}
.flavor-bar .bar-bg {
    flex: 1;
    height: 8px;
    background: var(--warm-bg-alt);
    border-radius: 4px;
    overflow: hidden;
}
.flavor-bar .bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
}
.flavor-bar .bar-fill.sweetness { background: linear-gradient(90deg, #f9ca24, #f0932b); }
.flavor-bar .bar-fill.acidity { background: linear-gradient(90deg, #6ab04c, #badc58); }
.flavor-bar .bar-fill.crispness { background: linear-gradient(90deg, #22a6b3, #7ed6df); }
.flavor-bar .bar-fill.aroma { background: linear-gradient(90deg, #be2edd, #e056fd); }
.flavor-bar .score { width: 20px; font-size: 0.8rem; color: var(--text-muted); }

/* ---- Usage Ratings ---- */
.usage-ratings {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
}
.usage-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--warm-bg-alt);
    border-radius: 50px;
    font-size: 0.78rem;
    color: var(--text-body);
}
.usage-badge .stars { color: var(--gold-color); font-size: 0.7rem; letter-spacing: -1px; }

/* ---- Price Display ---- */
.price-display {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}
.price-group {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
}
.price-market {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ---- Pricing Table ---- */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.pricing-table thead { background: var(--green-gradient); color: var(--white); }
.pricing-table th {
    padding: 14px 16px;
    font-weight: 600;
    text-align: left;
    font-size: 0.9rem;
}
.pricing-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}
.pricing-table tbody tr:hover { background: rgba(45,90,39,0.04); }
.pricing-table .price-highlight {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.05rem;
}
.pricing-table .savings {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
}

/* ---- Quick Order Builder ---- */
.order-builder {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-light);
}
.order-builder h3 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}
.order-step {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.order-step:last-child { border-bottom: none; }
.step-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.step-number {
    width: 32px;
    height: 32px;
    background: var(--green-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.step-title { font-weight: 600; font-size: 1rem; }
.variety-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.variety-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--warm-bg);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}
.variety-checkbox:hover { border-color: var(--primary-light); }
.variety-checkbox.selected {
    background: rgba(45,90,39,0.1);
    border-color: var(--primary-color);
}
.variety-checkbox input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
}
.spec-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}
.spec-item {
    background: var(--warm-bg);
    border-radius: var(--radius-sm);
    padding: 14px;
}
.spec-item label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.9rem; }
.spec-item select, .spec-item input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background: var(--white);
    font-family: var(--font-main);
}
.delivery-fields {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.delivery-fields input, .delivery-fields textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-main);
}
.delivery-fields textarea { grid-column: 1 / -1; min-height: 80px; resize: vertical; }
.order-summary {
    background: var(--warm-bg-alt);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 20px;
    white-space: pre-wrap;
    font-size: 0.9rem;
    line-height: 1.8;
    border: 1px dashed var(--border-color);
    min-height: 100px;
}
.order-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ---- FAQ Accordion ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.faq-question {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}
.faq-question:hover { color: var(--primary-color); }
.faq-question .icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 24px;
}
.faq-item.active .faq-answer { max-height: 500px; padding-bottom: 18px; }
.faq-answer p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ---- Gallery Grid ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 14px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ---- Info Cards / Feature Grid ---- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ---- Policy Info Box ---- */
.policy-box {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 20px;
}
.policy-box h3 { font-size: 1.1rem; margin-bottom: 12px; }
.policy-box .policy-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}
.policy-item {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
}
.policy-item .label {
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}
.policy-item .value { color: var(--text-body); }

/* ---- Recipe Cards ---- */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.recipe-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.recipe-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.recipe-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}
.recipe-card-body { padding: 16px; }
.recipe-card-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.recipe-card-body p { font-size: 0.85rem; color: var(--text-muted); }

/* ---- GEO Hub Tabs ---- */
.geo-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    justify-content: center;
}
.geo-tab {
    padding: 8px 18px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}
.geo-tab:hover, .geo-tab.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}
.geo-content { display: none; }
.geo-content.active { display: block; }

/* ---- About Timeline ---- */
.timeline {
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-light);
}
.timeline-item {
    position: relative;
    margin-bottom: 30px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--warm-bg);
}
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline-item p { font-size: 0.9rem; color: var(--text-muted); }

/* ---- Contact Form ---- */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}
.contact-form .form-group { margin-bottom: 16px; }
.contact-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-main);
    transition: var(--transition);
    background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45,90,39,0.1);
}
.contact-form textarea { min-height: 120px; resize: vertical; }

/* ---- Floating CTA (Mobile) ---- */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 999;
    gap: 8px;
}
.mobile-cta .btn { flex: 1; justify-content: center; font-size: 0.85rem; padding: 12px; }

/* ---- Footer ---- */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}
.footer-section a:hover { color: var(--gold-light); }
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}
.footer-bottom p { margin-bottom: 0.5rem; }
.footer-partner {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}
.footer-partner a {
    color: var(--gold-light);
    text-decoration: none;
    transition: var(--transition);
}
.footer-partner a:hover { color: var(--white); }

/* ---- Page Header (non-home pages) ---- */
.page-header {
    background: var(--green-gradient);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 70px;
    position: relative;
}
.page-header h1 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 10px;
}
.page-header p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.85rem;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* ---- Filter Buttons ---- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 30px;
}
.filter-btn {
    padding: 8px 18px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: var(--font-main);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ---- Comparison Table Highlight ---- */
.highlight-row { background: rgba(45,90,39,0.06) !important; }
.hot-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 6px;
    vertical-align: middle;
}
.new-badge {
    display: inline-block;
    background: var(--gold-color);
    color: var(--text-dark);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 6px;
    vertical-align: middle;
}

/* ---- Stat Counter ---- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 40px 0;
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ---- Apple Detail Description ---- */
.apple-detail-desc {
    background: var(--warm-bg-alt);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 16px 0;
    white-space: pre-wrap;
    line-height: 1.9;
    font-size: 0.93rem;
}

/* ---- Orchard Section ---- */
.orchard-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
}
.orchard-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,58,23,0.75);
}
.orchard-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
}
.orchard-content h2 { color: var(--white); margin-bottom: 16px; }
.orchard-content p { max-width: 700px; margin: 0 auto 20px; opacity: 0.9; font-size: 1.05rem; }

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        align-items: stretch;
        gap: 2px;
        overflow-y: auto;
    }
    .nav-links.active { right: 0; }
    .nav-links a { padding: 12px 16px; }
    .mobile-toggle { display: flex; }
    .hero { min-height: 80vh; }
    .hero h1 { font-size: 2rem; }
    .apple-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
    .section-padding { padding: 50px 0; }
    .hero { min-height: 70vh; }
    .hero-content { padding: 30px 20px; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { text-align: center; justify-content: center; }
    .apple-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .feature-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .pricing-table { font-size: 0.85rem; }
    .pricing-table th, .pricing-table td { padding: 10px 8px; }
    .order-builder { padding: 20px; }
    .variety-checkboxes { grid-template-columns: 1fr 1fr; }
    .delivery-fields { grid-template-columns: 1fr; }
    .mobile-cta { display: flex; }
    body { padding-bottom: 70px; }
    .page-header { padding: 100px 0 40px; }
    .footer-content { grid-template-columns: 1fr; }
    .spec-options { grid-template-columns: 1fr; }
    .recipe-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 1.6rem; }
    .variety-checkboxes { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat-number { font-size: 1.8rem; }
    .geo-tabs { gap: 4px; }
    .geo-tab { padding: 6px 12px; font-size: 0.8rem; }
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-accent { color: var(--accent-color); }
.text-primary { color: var(--primary-color); }
.text-gold { color: var(--gold-color); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.bg-alt { background: var(--warm-bg-alt); }
.bg-white { background: var(--white); }
.hidden { display: none; }

/* ---- Scroll animations ---- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Copy Success Toast ---- */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    pointer-events: none;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---- Lightbox ---- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}
