/* ========================================
   北京尧图网络科技有限公司 - 全局样式
   轻奢艺术风 | 浅紫 + 浅蓝 + 浅粉
   ======================================== */

:root {
    --primary-purple: #E8D5F5;
    --primary-blue: #D4E6F7;
    --primary-pink: #F9D5E5;
    --deep-purple: #9B59B6;
    --deep-blue: #3498DB;
    --deep-pink: #E91E63;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --white: #FFFFFF;
    --gradient-main: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 50%, var(--primary-pink) 100%);
    --gradient-hover: linear-gradient(135deg, var(--deep-purple) 0%, var(--deep-blue) 50%, var(--deep-pink) 100%);
    --shadow-soft: 0 10px 40px rgba(155, 89, 182, 0.15);
    --shadow-hover: 0 20px 60px rgba(155, 89, 182, 0.25);
    --border-radius-circle: 50%;
    --border-radius-card: 20px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    background: var(--gradient-main);
    color: var(--text-dark);
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(232, 213, 245, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 230, 247, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(249, 213, 229, 0.4) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* ========================================
   导航栏样式 - 圆形悬浮设计
   ======================================== */
.navbar {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 60px;
    padding: 15px 50px;
    box-shadow: var(--shadow-soft);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 1200px;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    top: 10px;
    padding: 10px 40px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-hover);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(155, 89, 182, 0.3);
}

.nav-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient-hover);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-main);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    opacity: 1;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--deep-purple);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--deep-purple);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ========================================
   页脚样式 - 圆形元素组合
   ======================================== */
.footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 80px 0 40px;
    margin-top: 100px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.8) 0%, transparent 70%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h3 {
    font-size: 1.3rem;
    color: var(--deep-purple);
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.footer-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--deep-blue);
    border-radius: 50%;
}

.footer-section p {
    color: var(--text-light);
    line-height: 2;
    font-size: 0.95rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--deep-purple);
    background: var(--primary-purple);
    transform: translateX(5px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(155, 89, 182, 0.2);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   首页 Banner - 全屏圆形悬浮
   ======================================== */
.hero-banner {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 150px 0 100px;
    overflow: hidden;
}

.hero-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    animation: float 20s infinite ease-in-out;
}

.hero-circle:nth-child(1) {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.hero-circle:nth-child(2) {
    width: 300px;
    height: 300px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.hero-circle:nth-child(3) {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(-20px, 20px) rotate(180deg); }
    75% { transform: translate(20px, 30px) rotate(270deg); }
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 900px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    background: var(--gradient-hover);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 50px;
    line-height: 2;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-block;
    border: none;
}

.btn-primary {
    background: var(--gradient-hover);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(155, 89, 182, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--deep-purple);
    border: 2px solid var(--deep-purple);
}

.btn-secondary:hover {
    background: var(--deep-purple);
    color: var(--white);
    transform: translateY(-5px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   圆形服务卡片 - 核心布局
   ======================================== */
.services-section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--deep-purple);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    justify-items: center;
}

.service-circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, var(--primary-purple), var(--primary-blue), var(--primary-pink), var(--primary-purple));
    opacity: 0;
    transition: var(--transition-smooth);
    animation: rotate 3s linear infinite;
}

.service-circle:hover::before {
    opacity: 0.3;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.service-circle:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
}

.service-circle:hover .service-icon {
    background: var(--gradient-hover);
    transform: scale(1.1) rotate(10deg);
}

.service-title {
    font-size: 1.3rem;
    color: var(--deep-purple);
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.service-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ========================================
   资讯列表 - 圆形卡片
   ======================================== */
.news-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.5);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.news-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 30px;
}

.news-date {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-purple);
    color: var(--deep-purple);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.news-title {
    font-size: 1.3rem;
    color: var(--deep-purple);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.news-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--deep-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.news-link::after {
    content: '→';
    transition: var(--transition-smooth);
}

.news-link:hover::after {
    transform: translateX(5px);
}

/* ========================================
   内页通用样式
   ======================================== */
.page-header {
    padding: 200px 0 100px;
    text-align: center;
    position: relative;
}

.page-title {
    font-size: 3rem;
    color: var(--deep-purple);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.page-breadcrumb a:hover {
    color: var(--deep-purple);
}

.page-content {
    padding: 80px 0;
}

/* ========================================
   案例展示 - 悬浮卡片
   ======================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
}

.case-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.case-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.case-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 35px;
}

.case-category {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-blue);
    color: var(--deep-blue);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.case-title {
    font-size: 1.4rem;
    color: var(--deep-purple);
    margin-bottom: 15px;
    font-weight: 600;
}

.case-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ========================================
   团队展示
   ======================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 25px;
    overflow: hidden;
    border: 5px solid var(--primary-purple);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.3rem;
    color: var(--deep-purple);
    margin-bottom: 10px;
    font-weight: 600;
}

.team-position {
    color: var(--deep-blue);
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.team-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ========================================
   联系表单
   ======================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--deep-purple);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 15px 25px;
    border: 2px solid var(--primary-purple);
    border-radius: 15px;
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.8);
}

.form-control:focus {
    outline: none;
    border-color: var(--deep-purple);
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.3);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1200px) {
    .navbar {
        min-width: auto;
        width: 90%;
        padding: 15px 30px;
    }
    
    .nav-menu {
        gap: 5px;
    }
    
    .nav-menu a {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 25px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 15px 20px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 20px;
        border-radius: 20px;
        box-shadow: var(--shadow-hover);
        margin-top: 15px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        width: 100%;
        text-align: center;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .news-grid,
    .cases-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .service-circle {
        width: 280px;
        height: 280px;
    }
}

/* ========================================
   滚动动画
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
