/* website_193 - Brown gradient top-nav layout */
:root {
    --primary: #78350f;
    --primary-light: #92400e;
    --accent: #a16207;
    --bg-light: #fef3c7;
    --bg-dark: #451a03;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #78716c;
}

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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%);
    min-height: 100vh;
    color: var(--text-dark);
    padding-top: 70px;
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-shadow: 0 4px 20px rgba(120, 53, 15, 0.4);
    z-index: 1000;
}

.nav-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 8px;
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    height: 100%;
}

.nav-dropbtn {
    color: white;
    background: none;
    border: none;
    padding: 0 16px;
    height: 100%;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.nav-dropbtn:hover,
.nav-dropdown:hover .nav-dropbtn {
    background: rgba(255,255,255,0.2);
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 240px;
    box-shadow: 0 8px 30px rgba(120, 53, 15, 0.25);
    border-radius: 0 0 12px 12px;
    overflow: visible;
    z-index: 1001;
    margin-top: 0;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

.nav-dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
    border-bottom: 1px solid #f5f5f5;
}

.nav-dropdown-content a:last-child {
    border-bottom: none;
}

.nav-dropdown-content a:hover {
    background: var(--primary);
    color: white;
}

.nav-dropdown-content a.active {
    background: var(--primary-light);
    color: white;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255,255,255,0.2);
}

.nav-link.active {
    background: rgba(255,255,255,0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

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

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    margin-left: 15px;
}

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

/* Sections */
.section {
    padding: 80px 40px;
}

.section-gray {
    background: linear-gradient(180deg, #fff8ed 0%, #fef3c7 100%);
}

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

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(120, 53, 15, 0.1);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(120, 53, 15, 0.15);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-gradient-gold { background: linear-gradient(135deg, #eab308, #ca8a04); }
.icon-gradient-brown { background: linear-gradient(135deg, #92400e, #78350f); }
.icon-gradient-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }

.feature-icon svg {
    width: 36px;
    height: 36px;
    fill: white;
}

.feature-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(120, 53, 15, 0.1);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(120, 53, 15, 0.15);
}

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon-wrapper svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
    padding: 80px 40px;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

/* Contact Section */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-item {
    text-align: center;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.8);
    padding: 40px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--bg-light);
}

.footer-copy {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-grid,
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-nav {
        padding: 0 20px;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-dropbtn {
        font-size: 0.85rem;
        padding: 0 10px;
    }

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

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

    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .feature-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 4px;
    }

    .nav-dropbtn {
        font-size: 0.75rem;
        padding: 0 8px;
    }

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