/* Website 87 - Circular Navigation Layout */
:root {
    --primary-color: #00b894;
    --secondary-color: #2d3436;
    --accent-color: #0984e3;
    --bg-color: #f0fdf9;
    --card-bg: #ffffff;
    --text-color: #2d3436;
    --text-light: #636e72;
    --shadow: 0 10px 40px rgba(0, 184, 148, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 0.3rem;
}

.nav-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    background: rgba(0, 184, 148, 0.1);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Header (legacy support) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.header-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.header-logo span {
    color: var(--accent-color);
}

.header-nav {
    display: flex;
    gap: 1.5rem;
}

.header-nav a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.header-nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-circular {
    min-height: 100vh;
    padding: 8rem 5% 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, #fff 0%, var(--bg-color) 70%);
}

.hero-content {
    text-align: center;
    max-width: 600px;
    margin-bottom: 3rem;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.hero-circular h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.hero-circular h1 span {
    display: block;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.hero-circular p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Circular Navigation */
.circular-nav {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.nav-circle {
    width: 100%;
    height: 100%;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    animation: rotate 30s linear infinite;
}

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

/* Responsive Navigation */
@media (max-width: 1200px) {
    .nav-links {
        gap: 0.2rem;
    }
    .nav-links a {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        padding: 0.8rem 1rem;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-circular {
        padding-top: 7rem;
    }
}

.nav-item {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--secondary-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.nav-item:hover {
    transform: scale(1.1);
    z-index: 10;
}

.nav-item .icon {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.nav-item .label {
    font-size: 0.75rem;
    font-weight: 600;
}

.nav-item:nth-child(1) { top: -30px; left: 50%; transform: translateX(-50%); }
.nav-item:nth-child(2) { top: 30px; right: -20px; }
.nav-item:nth-child(3) { bottom: 30px; right: -20px; }
.nav-item:nth-child(4) { bottom: -30px; left: 50%; transform: translateX(-50%); }
.nav-item:nth-child(5) { bottom: 30px; left: -20px; }
.nav-item:nth-child(6) { top: 30px; left: -20px; }

.nav-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 184, 148, 0.3);
}

.nav-center span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Feature Cards */
.features-section {
    padding: 6rem 5%;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 184, 148, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1e272e 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 184, 148, 0.3);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: #fff;
    padding: 3rem 5% 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.footer-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

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

    .circular-nav {
        width: 300px;
        height: 300px;
    }

    .nav-item {
        width: 70px;
        height: 70px;
    }

    .nav-item .icon {
        font-size: 1.3rem;
    }

    .nav-item .label {
        font-size: 0.65rem;
    }

    .nav-center {
        width: 90px;
        height: 90px;
    }

    .nav-center span {
        font-size: 0.7rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-card {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
