:root {
    --white: #FFFFFF;
    --bg: #FAFAFA;
    --text: #1A1A1A;
    --text-muted: #6B6B6B;
    --accent: #5D3A1A;
    --accent-light: #8B5E3C;
    --accent-hover: #4A2E14;
    --border: #E5E5E5;
    --surface: #F5F3EF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Manrope', 'Noto Serif SC', -apple-system, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 48px;
}
.nav-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text);
    text-transform: uppercase;
}
.logo span { color: var(--accent); }
.logo a { text-decoration: none; color: inherit; }
.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background 0.25s !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

/* Page Header */
.page-header {
    padding: 160px 80px 80px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.page-header .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.page-header .section-tag::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent);
}
.page-header h1 {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}
.page-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 560px;
}

/* Section */
.section {
    padding: 100px 80px;
}
.section-alt {
    background: var(--surface);
}
.section-header {
    margin-bottom: 60px;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-tag::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent);
}
.section-title {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--accent);
    padding: 13px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--accent);
    transition: all 0.25s;
}
.btn-outline:hover {
    background: var(--accent);
    color: #fff;
}

/* Product Cards */
.product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}
.product-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(93,58,26,0.1);
}
.product-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--surface);
}
.product-card-body {
    padding: 28px;
}
.product-card-name {
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}
.product-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.product-card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.product-card-link:hover { gap: 10px; }

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}
.feature-item {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s;
}
.feature-item:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(93,58,26,0.08);
}
.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--surface);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    color: var(--accent);
}
.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.feature-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* App Grid */
.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.app-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 240px;
    background: var(--surface);
}
.app-card.large {
    grid-column: span 2;
}
.app-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.app-card:hover .app-img {
    transform: scale(1.05);
}
.app-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(93,58,26,0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}
.app-name {
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

/* Contact Info */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}
.contact-info-item {
    margin-bottom: 32px;
}
.contact-info-item h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.contact-info-item p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.8;
}
.contact-info-item a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.25s;
}
.contact-info-item a:hover { color: var(--accent); }

/* Form */
.contact-form {
    background: var(--surface);
    padding: 48px;
    border-radius: 12px;
}
.form-group {
    margin-bottom: 24px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background: var(--white);
    transition: border-color 0.25s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}
.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* CTA */
.cta-section {
    text-align: center;
    padding: 120px 80px;
    background: var(--surface);
}
.cta-title {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}
.cta-desc {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 40px;
}

/* Footer */
footer {
    background: var(--text);
    color: rgba(255,255,255,0.7);
    padding: 80px 80px 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    max-width: 280px;
}
.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.25s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}
.footer-bottom a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}
.footer-bottom a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1024px) {
    .page-header { padding: 140px 40px 60px; }
    .section { padding: 64px 40px; }
    .product-list { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: 1fr; }
    .app-grid { grid-template-columns: 1fr 1fr; }
    .app-card.large { grid-column: span 2; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    nav { padding: 0 32px; }
}
@media (max-width: 640px) {
    .page-header { padding: 120px 24px 48px; }
    .section { padding: 48px 24px; }
    .product-list { grid-template-columns: 1fr; }
    .app-grid { grid-template-columns: 1fr; }
    .app-card.large { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    nav { padding: 0 24px; }
    .nav-links { display: none; }
    .contact-form { padding: 32px 24px; }
    .cta-section { padding: 80px 24px; }
}
