/* 166bet - Curved Wave Flow Layout (全新曲线波浪流动布局) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-blue: #0C4A6E;
    --aqua-turquoise: #06B6D4;
    --silver-white: #F0F9FF;
    --wave-cyan: #22D3EE;
    --ocean-teal: #0891B2;
    --text-dark: #0F172A;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--silver-white);
}

/* Header - Non-sticky with Wave Pattern */
.wave-header {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--ocean-teal) 100%);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.wave-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 80"><path fill="%23F0F9FF" d="M0,48 C240,80 480,80 720,48 C960,16 1200,16 1440,48 L1440,80 L0,80 Z"/></svg>') no-repeat bottom;
    background-size: cover;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo-brand img {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--wave-cyan);
    transition: width 0.3s;
    border-radius: 10px;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--wave-cyan);
    transform: translateY(-3px);
}

.action-button {
    background: linear-gradient(135deg, var(--wave-cyan) 0%, var(--aqua-turquoise) 100%);
    color: var(--deep-blue);
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.15rem;
    transition: all 0.4s;
    box-shadow: 0 12px 35px rgba(34, 211, 238, 0.5);
    position: relative;
    overflow: hidden;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.action-button:hover::before {
    width: 300px;
    height: 300px;
}

.action-button:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 18px 45px rgba(34, 211, 238, 0.7);
}

/* Hero - Curved Wave Flow */
.hero-wave {
    position: relative;
    min-height: 700px;
    background: linear-gradient(135deg, var(--aqua-turquoise) 0%, var(--deep-blue) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 5rem 0;
}

.hero-wave::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(34,211,238,0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(6,182,212,0.2) 0%, transparent 50%);
    animation: wave-pulse 8s ease-in-out infinite;
}

@keyframes wave-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.hero-wave::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100"><path fill="%23F0F9FF" d="M0,64 C240,32 480,32 720,64 C960,96 1200,96 1440,64 L1440,100 L0,100 Z"/></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 4px 4px 25px rgba(0,0,0,0.5);
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 600;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 50px;
    box-shadow: 0 35px 80px rgba(0,0,0,0.5);
    transition: transform 0.6s;
    border: 5px solid rgba(255,255,255,0.2);
}

.hero-visual img:hover {
    transform: scale(1.05) rotate(-2deg);
}

/* Curved Wave Grid */
.wave-container {
    max-width: 1400px;
    margin: 8rem auto;
    padding: 0 2rem;
}

.curved-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 4rem;
    position: relative;
}

.wave-card {
    background: white;
    padding: 4rem;
    border-radius: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    position: relative;
    transition: all 0.5s;
    overflow: hidden;
}

.wave-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--aqua-turquoise) 0%, var(--wave-cyan) 100%);
    border-radius: 50px 50px 0 0;
}

.wave-card::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(34,211,238,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s;
}

.wave-card:hover::after {
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
}

.wave-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.18);
}

.wave-card img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.wave-card h3 {
    color: var(--deep-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

.wave-card p {
    color: #475569;
    line-height: 1.9;
    font-size: 1rem;
}

/* Content Sections */
.content-section {
    max-width: 1200px;
    margin: 7rem auto;
    padding: 0 2rem;
    position: relative;
}

.section-heading {
    font-size: 4rem;
    color: var(--deep-blue);
    margin-bottom: 4rem;
    text-align: center;
    font-weight: 900;
    position: relative;
    text-transform: uppercase;
}

.section-heading::after {
    content: '';
    display: block;
    margin: 2rem auto 0;
    width: 200px;
    height: 6px;
    background: linear-gradient(90deg, var(--aqua-turquoise) 0%, var(--wave-cyan) 100%);
    border-radius: 10px;
}

.info-box {
    background: white;
    padding: 4.5rem;
    border-radius: 40px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    border-left: 8px solid var(--aqua-turquoise);
}

.info-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6,182,212,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.info-box h4 {
    color: var(--deep-blue);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 900;
    text-transform: uppercase;
}

.info-box p {
    color: #475569;
    line-height: 2.1;
    margin-bottom: 1.5rem;
}

.info-box img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    margin-bottom: 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Reviews - Wave Style */
.reviews-wave {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 3.5rem;
    margin-top: 4rem;
}

.review-wave-card {
    background: white;
    padding: 3.5rem;
    border-radius: 40px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    border-top: 6px solid var(--wave-cyan);
}

.review-wave-card::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(34,211,238,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.review-wave-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

.review-stars {
    color: var(--wave-cyan);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.reviewer-info {
    margin-bottom: 2rem;
}

.reviewer-name {
    font-weight: 900;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.reviewer-city {
    color: #64748B;
    font-size: 1rem;
}

.review-content {
    color: #475569;
    line-height: 2;
    margin-bottom: 1.5rem;
}

.review-timestamp {
    color: #94A3B8;
    font-size: 0.9rem;
    font-style: italic;
}

/* FAQ - Wave Style */
.faq-section {
    max-width: 1000px;
    margin: 5rem auto;
}

.faq-block {
    background: white;
    margin-bottom: 3rem;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    border-left: 6px solid var(--aqua-turquoise);
}

.faq-query {
    padding: 3rem;
    font-weight: 900;
    color: var(--deep-blue);
    font-size: 1.4rem;
    background: linear-gradient(to right, rgba(6,182,212,0.05), transparent);
    text-transform: uppercase;
}

.faq-response {
    padding: 0 3rem 3rem;
    color: #475569;
    line-height: 2.1;
}

/* Footer */
.wave-footer {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--ocean-teal) 100%);
    color: white;
    padding: 7rem 2rem 3rem;
    margin-top: 10rem;
    position: relative;
    overflow: hidden;
}

.wave-footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100"><path fill="%23F0F9FF" d="M0,32 C240,64 480,64 720,32 C960,0 1200,0 1440,32 L1440,0 L0,0 Z"/></svg>') no-repeat top;
    background-size: cover;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-column h4 {
    color: var(--wave-cyan);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-column a {
    color: #CBD5E1;
    text-decoration: none;
    display: block;
    margin-bottom: 1.3rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--wave-cyan);
}

.footer-column p {
    color: #CBD5E1;
    margin-bottom: 1.2rem;
    line-height: 1.9;
}

.footer-base {
    text-align: center;
    padding-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    color: #94A3B8;
}

.footer-base p {
    margin-bottom: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .curved-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-wave {
        grid-template-columns: 1fr;
    }
}
