/* ===== 全局重置 & 基础 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2D1B69;
    --primary-light: #4A2D8A;
    --primary-dark: #1F124A;
    --accent: #FF6B9D;
    --accent-light: #FF8DB3;
    --gold: #F5C842;
    --bg-light: #F8F6FC;
    --text-dark: #1A1A2E;
    --text-gray: #6B6B8A;
    --shadow: 0 12px 40px rgba(45, 27, 105, 0.15);
    --radius: 20px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(45, 27, 105, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
}

.navbar .logo span {
    color: var(--gold);
}

.navbar .logo i {
    font-size: 28px;
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--gold);
    border-radius: 4px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: #fff;
    border-radius: 4px;
    transition: var(--transition);
}

/* ===== Hero 区域 ===== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 200, 66, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-content h1 .highlight {
    color: var(--gold);
}

.hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    background: #fff;
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: var(--gold);
    color: var(--primary-dark);
    box-shadow: 0 8px 32px rgba(245, 200, 66, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(245, 200, 66, 0.45);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 30px;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.20);
}

.hero-card .card-img {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #2a1a5a;
    aspect-ratio: 3/4;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: background-image 0.8s ease-in-out;
    cursor: pointer;
}

.hero-card .card-img:hover::before {
    content: '🔍 点击查看大图';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 3;
    border-radius: 14px;
}

.hero-card .card-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.hero-card .card-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
    cursor: pointer;
}

.hero-card .card-dots .dot.active {
    background: #fff;
    width: 20px;
    border-radius: 4px;
}

.hero-card .card-info {
    color: #fff;
}

.hero-card .card-info .name {
    font-size: 22px;
    font-weight: 700;
}

.hero-card .card-info .tags {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.hero-card .card-info .tags span {
    background: rgba(255, 255, 255, 0.10);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-card .card-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.hero-card .card-actions .action-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.action-btn.like {
    background: var(--accent);
    color: #fff;
}

.action-btn.chat {
    background: #6C5CE7;
    color: #fff;
}

.action-btn.pass {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* ===== 通用 Section ===== */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 17px;
    max-width: 500px;
    margin: 0 auto;
}

.section-header .line {
    width: 60px;
    height: 4px;
    background: var(--gold);
    border-radius: 4px;
    margin: 14px auto 0;
}

/* ===== 关于我们 ===== */
#about {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.9;
}

.about-text .highlight-text {
    color: var(--primary);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-stats .stat-item {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}

.about-stats .stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.about-stats .stat-item .number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
}

.about-stats .stat-item .label {
    color: var(--text-gray);
    font-size: 14px;
    margin-top: 4px;
}

.about-stats .stat-item .icon {
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 8px;
}

/* ===== 在线预约 ===== */
#booking {
    background: var(--bg-light);
}

.booking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.booking-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px 24px;
    box-shadow: 0 4px 20px rgba(45, 27, 105, 0.06);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(45, 27, 105, 0.04);
}

.booking-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.booking-card .icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
    color: var(--primary);
    transition: var(--transition);
}

.booking-card:hover .icon-wrap {
    background: var(--primary);
    color: #fff;
}

.booking-card .photo {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    margin-bottom: 16px;
    background-color: #e8e4f0;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.booking-card .photo:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(45, 27, 105, 0.2);
}

.booking-card .photo::after {
    content: '🔍';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.booking-card .photo:hover::after {
    opacity: 1;
}

/* ===== 图片放大灯箱 ===== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    cursor: pointer;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-overlay .lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
    object-fit: contain;
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}

.lightbox-overlay .lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 1;
}

.lightbox-overlay .lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.lightbox-overlay .lightbox-prev,
.lightbox-overlay .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 1;
    opacity: 0.7;
}

.lightbox-overlay .lightbox-prev { left: 24px; }
.lightbox-overlay .lightbox-next { right: 24px; }

.lightbox-overlay .lightbox-prev:hover,
.lightbox-overlay .lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
    opacity: 1;
}

.lightbox-overlay .lightbox-prev.hidden,
.lightbox-overlay .lightbox-next.hidden {
    display: none;
}

.lightbox-overlay .lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 16px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.lightbox-overlay .lightbox-counter.show {
    opacity: 1;
}

.booking-card .tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 8px 0;
}

.booking-card .tags span {
    background: rgba(45, 27, 105, 0.06);
    padding: 2px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-gray);
}

.booking-card .meta-info {
    color: var(--text-gray);
    font-size: 13px;
    margin-bottom: 6px;
}

.booking-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.booking-card .desc {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 12px;
}

.booking-card .price {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 16px;
}

.booking-card .price small {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
}

.btn-book {
    background: var(--primary);
    color: #fff;
    padding: 10px 32px;
    border-radius: 50px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-book:hover {
    background: var(--primary-light);
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(45, 27, 105, 0.25);
}

/* ===== 在线交友 ===== */
#social {
    background: #fff;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.social-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(45, 27, 105, 0.04);
}

.social-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.social-card .avatar {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: rgba(255, 255, 255, 0.25);
    position: relative;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.social-card .avatar:hover {
    transform: scale(1.03);
}

.social-card .avatar::after {
    content: '🔍';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.social-card .avatar:hover::after {
    opacity: 1;
}

.social-card .avatar .badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    padding: 2px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.social-card .info {
    padding: 16px 18px 18px;
}

.social-card .info .name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-card .info .name .gender {
    font-size: 14px;
    color: var(--accent);
}

.social-card .info .meta {
    color: var(--text-gray);
    font-size: 13px;
    margin: 4px 0 8px;
}

.social-card .info .tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.social-card .info .tags span {
    background: rgba(45, 27, 105, 0.06);
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-gray);
}

/* ===== 教练风采 ===== */
#coaches {
    background: var(--bg-light);
}

.coach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.coach-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(45, 27, 105, 0.05);
    border: 1px solid rgba(45, 27, 105, 0.04);
}

.coach-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.coach-card .cover {
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255, 255, 255, 0.15);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.coach-card .cover:hover {
    transform: scale(1.03);
}

.coach-card .cover::after {
    content: '🔍';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.coach-card .cover:hover::after {
    opacity: 1;
}

.coach-card .cover .status {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #4CAF50;
    color: #fff;
    padding: 2px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.coach-card .body {
    padding: 18px 20px 20px;
}

.coach-card .body .name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.coach-card .body .name .gender {
    font-size: 14px;
    color: var(--accent);
}

.coach-card .body .specialty {
    color: var(--text-gray);
    font-size: 14px;
    margin: 4px 0 8px;
}

.coach-card .body .tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.coach-card .body .tags span {
    background: rgba(45, 27, 105, 0.06);
    padding: 2px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-gray);
}

.coach-card .body .rating {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 600;
}

.coach-card .body .rating span {
    color: var(--text-gray);
    font-weight: 400;
    font-size: 14px;
}

/* ===== 会员充值 ===== */
#membership {
    background: var(--bg-light);
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 860px;
    margin: 0 auto;
}

.membership-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: 0 4px 20px rgba(45, 27, 105, 0.06);
    border: 1px solid rgba(45, 27, 105, 0.04);
    transition: var(--transition);
    position: relative;
    text-align: center;
}

.membership-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.membership-card.featured {
    border: 2px solid var(--gold);
    background: linear-gradient(180deg, #FFFDF4 0%, #fff 100%);
}

.member-ribbon {
    position: absolute;
    top: 16px;
    right: -34px;
    background: var(--gold);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 40px;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.member-badge {
    display: inline-block;
    font-size: 17px;
    font-weight: 700;
    padding: 6px 22px;
    border-radius: 30px;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.member-badge.vip {
    background: rgba(45, 27, 105, 0.08);
    color: var(--primary);
}

.member-badge.premium {
    background: linear-gradient(135deg, #F5C842, #E0A800);
    color: #fff;
}

.member-price {
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.member-price .currency {
    font-size: 26px;
    font-weight: 700;
    margin-right: 2px;
}

.member-price .amount {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

.member-price .unit {
    font-size: 16px;
    color: var(--text-gray);
    margin-left: 4px;
}

.member-desc {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 22px;
}

.member-benefits {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.member-benefits li {
    padding: 9px 0;
    color: var(--text-dark);
    font-size: 15px;
    border-bottom: 1px dashed rgba(45, 27, 105, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.member-benefits li i {
    color: var(--gold);
    font-size: 14px;
}

.btn-member {
    background: var(--primary);
    color: #fff;
    padding: 14px 0;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    letter-spacing: 1px;
}

.btn-member:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 27, 105, 0.25);
}

.btn-member.premium {
    background: linear-gradient(135deg, #F5C842, #E0A800);
    color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(245, 200, 66, 0.3);
}

.btn-member.premium:hover {
    box-shadow: 0 10px 28px rgba(245, 200, 66, 0.45);
}

/* ===== 联系我们 ===== */
#contact {
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: 24px;
    font-size: 16px;
}

.contact-info .item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 16px;
}

.contact-info .item i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-form {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 32px 28px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(45, 27, 105, 0.08);
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
    transition: var(--transition);
    margin-bottom: 16px;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(45, 27, 105, 0.06);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn-submit {
    background: var(--primary);
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.contact-form .btn-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 27, 105, 0.25);
}

.contact-form .input-group {
    position: relative;
    margin-bottom: 4px;
}

.contact-form .input-group input,
.contact-form .input-group textarea {
    margin-bottom: 0;
}

.contact-form .error-msg {
    color: #E8436E;
    font-size: 12px;
    min-height: 18px;
    padding: 2px 0 8px 4px;
    display: none;
    text-align: left;
}

.contact-form .error-msg.show {
    display: block;
}

.contact-form input.error,
.contact-form textarea.error {
    border-color: #E8436E !important;
    box-shadow: 0 0 0 4px rgba(232, 67, 110, 0.08) !important;
}

.contact-form input.success,
.contact-form textarea.success {
    border-color: #4CAF50 !important;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.08) !important;
}

/* ===== 底部 ===== */
footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 24px;
    text-align: center;
}

footer .logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

footer .logo span {
    color: var(--gold);
}

footer p {
    font-size: 14px;
    margin-top: 6px;
}

footer .social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 16px 0 20px;
}

footer .social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    font-size: 18px;
}

footer .social-links a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== 支付模态框 ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: 20px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    animation: slideUp 0.4s ease;
    position: relative;
    overflow: hidden;
}

.modal-box .close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.modal-box .close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

/* 支付顶部条 */
.modal-box .pay-header {
    background: linear-gradient(135deg, #07C160, #06AD56);
    padding: 28px 24px 24px;
    color: #fff;
    position: relative;
}

.modal-box .pay-header .pay-merchant {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.modal-box .pay-header .pay-merchant i {
    font-size: 10px;
    color: #07C160;
    background: #fff;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-box .pay-header .pay-title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.modal-box .pay-body {
    padding: 24px 28px 20px;
}

.modal-box .pay-amount-wrap {
    margin-bottom: 18px;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.modal-box .pay-amount-wrap .currency {
    font-size: 32px;
    font-weight: 700;
    color: #1A1A2E;
    margin-right: 4px;
    line-height: 1;
}

.modal-box .pay-amount {
    font-size: 52px;
    font-weight: 800;
    color: #1A1A2E;
    line-height: 1;
    display: inline;
    letter-spacing: -1px;
}

.modal-box .pay-amount-wrap .amount-unit {
    font-size: 18px;
    font-weight: 500;
    color: #666;
    margin-left: 4px;
    align-self: flex-end;
    padding-bottom: 6px;
}

.modal-box .pay-order-info {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 18px;
    text-align: left;
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

.modal-box .pay-order-info .row {
    display: flex;
    justify-content: space-between;
}

.modal-box .pay-order-info .row .label {
    color: #999;
}

.modal-box .pay-order-info .row .value {
    color: #333;
    font-weight: 500;
    max-width: 180px;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modal-box .qr-section {
    position: relative;
    display: inline-block;
}

.modal-box .qr-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    display: inline-block;
    border: 2px solid #E8ECF0;
    position: relative;
}

.modal-box .qr-wrap img {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    display: block;
}

/* 二维码扫描线动画 */
.modal-box .qr-wrap::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(7, 193, 96, 0.6), transparent);
    z-index: 1;
    border-radius: 2px;
    animation: qrScan 2.5s ease-in-out infinite;
}

@keyframes qrScan {
    0% { top: 16px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: calc(100% - 19px); opacity: 0; }
}

/* 二维码四角装饰 */
.modal-box .qr-wrap .qr-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #07C160;
    border-style: solid;
    z-index: 2;
}
.qr-corner.tl { top: 4px; left: 4px; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.qr-corner.tr { top: 4px; right: 4px; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.qr-corner.bl { bottom: 4px; left: 4px; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.qr-corner.br { bottom: 4px; right: 4px; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }

.modal-box .pay-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    margin-top: 14px;
}

.modal-box .pay-tip i {
    color: #07C160;
    font-size: 20px;
}

.modal-box .countdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #FF6B6B;
    font-size: 13px;
    margin-top: 10px;
    font-weight: 500;
}

.modal-box .countdown i {
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.modal-box .pay-footer {
    padding: 16px 28px 24px;
    border-top: 1px solid #F0F0F0;
}

.modal-box .pay-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 12px;
    color: #999;
    margin-bottom: 16px;
}

.modal-box .pay-security i {
    color: #07C160;
    font-size: 14px;
}

.modal-box .btn-done {
    background: linear-gradient(135deg, #07C160, #06AD56);
    color: #fff;
    padding: 13px 0;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.3);
    letter-spacing: 0.5px;
}

.modal-box .btn-done:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(7, 193, 96, 0.4);
}

.modal-box .btn-done:active {
    transform: scale(0.97);
}

/* ===== 会员支付模态框 ===== */
.member-modal-box {
    max-width: 420px;
    max-height: 92vh;
    overflow-y: auto;
}

.member-pay-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 28px 24px 24px;
    color: #fff;
    position: relative;
}

.member-pay-header .member-merchant {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.member-pay-header .member-merchant i {
    font-size: 10px;
    color: var(--primary);
    background: #fff;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.member-pay-header .member-pay-title {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.95;
}

.member-pay-header .member-pay-amount {
    margin-top: 8px;
}

.member-pay-header .member-pay-amount .currency {
    font-size: 24px;
    font-weight: 700;
    margin-right: 2px;
}

.member-pay-header .member-pay-amount > span:last-child {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
}

.member-pay-body {
    padding: 22px 28px 20px;
}

/* 账户余额 */
.member-balance-box {
    background: linear-gradient(135deg, #F8F6FC, #EFEAF9);
    border: 1px solid rgba(45, 27, 105, 0.08);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.member-balance-box .balance-label {
    color: var(--text-gray);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.member-balance-box .balance-label i {
    color: var(--primary);
    font-size: 18px;
}

.member-balance-box .balance-value {
    color: var(--primary);
    font-size: 22px;
    font-weight: 800;
}

/* 会员信息表单 */
.member-info-form {
    background: #F8F9FA;
    border: 1px solid rgba(45, 27, 105, 0.06);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    text-align: left;
}

.member-info-form .input-group {
    margin-bottom: 10px;
}

.member-info-form .input-group:last-child {
    margin-bottom: 0;
}

.member-info-form label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 6px;
}

.member-info-form label i {
    color: var(--primary);
    font-size: 14px;
}

.member-info-form input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E0E3EA;
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
    transition: all 0.3s;
    font-family: inherit;
}

.member-info-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 27, 105, 0.06);
}

.member-info-form input.error {
    border-color: #E8436E !important;
    box-shadow: 0 0 0 3px rgba(232, 67, 110, 0.08) !important;
}

.member-info-form .error-msg {
    color: #E8436E;
    font-size: 12px;
    min-height: 16px;
    padding: 2px 0 0 4px;
    display: none;
}

.member-info-form .error-msg.show {
    display: block;
}

/* 支付方式选择 */
.pay-methods {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.pay-method {
    flex: 1;
    border: 2px solid #E8ECF0;
    border-radius: 12px;
    padding: 12px 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.pay-method i {
    font-size: 24px;
    color: var(--text-gray);
    transition: all 0.3s;
}

.pay-method span {
    font-size: 12px;
    color: var(--text-gray);
    transition: all 0.3s;
}

.pay-method:hover {
    border-color: var(--primary-light);
}

.pay-method.active {
    border-color: var(--primary);
    background: rgba(45, 27, 105, 0.04);
}

.pay-method.active span {
    color: var(--primary);
    font-weight: 600;
}

.pay-method[data-method="alipay"].active {
    border-color: #1677FF;
    background: rgba(22, 119, 255, 0.04);
}
.pay-method[data-method="alipay"].active i,
.pay-method[data-method="alipay"].active span {
    color: #1677FF;
}

.pay-method[data-method="wechat"].active {
    border-color: #07C160;
    background: rgba(7, 193, 96, 0.04);
}
.pay-method[data-method="wechat"].active i,
.pay-method[data-method="wechat"].active span {
    color: #07C160;
}

/* 支付面板 */
.pay-panel {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pay-panel.hidden {
    display: none;
}

/* 余额支付面板 */
.balance-deduct {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.balance-deduct strong {
    color: var(--accent);
    font-size: 18px;
}

.btn-balance-pay {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(45, 27, 105, 0.25);
}

.btn-balance-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(45, 27, 105, 0.35);
}

.btn-balance-pay:active {
    transform: scale(0.97);
}

/* 二维码面板 */
.qr-box {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    display: inline-block;
    border: 2px solid #E8ECF0;
    position: relative;
    margin-bottom: 14px;
}

.qr-box img {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    display: block;
}

/* 二维码扫描线动画（复用 qrScan 关键帧） */
.qr-box::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(45, 27, 105, 0.55), transparent);
    z-index: 1;
    border-radius: 2px;
    animation: qrScan 2.5s ease-in-out infinite;
}

.qr-box.alipay-qr {
    border-color: rgba(22, 119, 255, 0.3);
}
.qr-box.alipay-qr::before {
    background: linear-gradient(90deg, transparent, rgba(22, 119, 255, 0.6), transparent);
}
.qr-box.alipay-qr .qr-corner {
    border-color: #1677FF;
}

.qr-box.wechat-qr {
    border-color: rgba(7, 193, 96, 0.3);
}
.qr-box.wechat-qr::before {
    background: linear-gradient(90deg, transparent, rgba(7, 193, 96, 0.6), transparent);
}
.qr-box.wechat-qr .qr-corner {
    border-color: #07C160;
}

.pay-tip.alipay-tip i {
    color: #1677FF;
}
.pay-tip.wechat-tip i {
    color: #07C160;
}

/* 会员支付底部 */
.member-pay-footer {
    padding: 16px 28px 24px;
    border-top: 1px solid #F0F0F0;
}

.btn-member-done {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 13px 0;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 6px 20px rgba(45, 27, 105, 0.3);
    letter-spacing: 0.5px;
    margin-top: 6px;
}

.btn-member-done:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(45, 27, 105, 0.4);
}

.btn-member-done:active {
    transform: scale(0.97);
}

/* ===== 自定义成功弹窗 ===== */
.toast-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.toast-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.toast-box {
    background: #fff;
    border-radius: 24px;
    max-width: 400px;
    width: 100%;
    padding: 40px 32px 32px;
    text-align: center;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
    transform: translateY(30px) scale(0.92);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.toast-overlay.active .toast-box {
    transform: translateY(0) scale(1);
}

.toast-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #07C160, #4CAF50);
    background-size: 200% 100%;
    animation: toastShine 2s linear infinite;
}

@keyframes toastShine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.toast-box .check-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

.toast-box .check-wrap .checkmark {
    width: 32px;
    height: 32px;
    position: relative;
}

.toast-box .check-wrap .checkmark::before,
.toast-box .check-wrap .checkmark::after {
    content: '';
    position: absolute;
    background: #4CAF50;
    border-radius: 3px;
}

.toast-box .check-wrap .checkmark::before {
    width: 4px;
    height: 18px;
    bottom: 0;
    left: 6px;
    transform: rotate(45deg);
    transform-origin: bottom center;
    animation: checkShort 0.3s ease 0.2s both;
}

.toast-box .check-wrap .checkmark::after {
    width: 4px;
    height: 28px;
    bottom: 6px;
    right: 2px;
    transform: rotate(-45deg);
    transform-origin: bottom center;
    animation: checkLong 0.3s ease 0.35s both;
}

@keyframes checkShort {
    from { height: 0; }
    to { height: 18px; }
}

@keyframes checkLong {
    from { height: 0; }
    to { height: 28px; }
}

.toast-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.toast-box .toast-msg {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 0 8px;
}

.toast-box .toast-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.toast-box .btn-confirm {
    background: linear-gradient(135deg, #4CAF50, #07C160);
    color: #fff;
    padding: 12px 32px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.toast-box .btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(76, 175, 80, 0.4);
}

.toast-box .btn-confirm:active {
    transform: scale(0.96);
}

.toast-box .btn-cancel {
    background: #F0F0F0;
    color: #666;
    padding: 12px 32px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: none;
}

.toast-box .btn-cancel:hover {
    background: #E0E0E0;
    color: #333;
}

.toast-box .btn-cancel:active {
    transform: scale(0.96);
}

.toast-box .btn-cancel.show {
    display: inline-block;
}

/* ===== 支付失败弹窗样式 ===== */
.toast-box.fail::before {
    background: linear-gradient(90deg, #FF6B6B, #E8436E, #FF6B6B);
    background-size: 200% 100%;
}

.toast-box.fail .check-wrap {
    background: linear-gradient(135deg, #FFEBEE, #FFCDD2);
}

.toast-box.fail .check-wrap .checkmark::before,
.toast-box.fail .check-wrap .checkmark::after {
    background: #E8436E;
}

.toast-box.fail .check-wrap .checkmark::before {
    width: 4px;
    height: 28px;
    bottom: 2px;
    left: 14px;
    transform: rotate(45deg);
    transform-origin: center;
    animation: crossLine 0.3s ease both;
}

.toast-box.fail .check-wrap .checkmark::after {
    width: 4px;
    height: 28px;
    bottom: 2px;
    right: 14px;
    transform: rotate(-45deg);
    transform-origin: center;
    animation: crossLine 0.3s ease 0.1s both;
}

@keyframes crossLine {
    from { height: 0; }
    to { height: 28px; }
}

.toast-box.fail .btn-confirm {
    background: linear-gradient(135deg, #07C160, #06AD56);
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.3);
}

.toast-box.fail .btn-confirm:hover {
    box-shadow: 0 10px 28px rgba(7, 193, 96, 0.4);
}

/* ===== 动画 ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-visual {
        order: -1;
    }
    .hero-card {
        max-width: 320px;
        margin: 0 auto;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(45, 27, 105, 0.98);
        backdrop-filter: blur(18px);
        flex-direction: column;
        padding: 20px 24px 30px;
        gap: 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        display: none;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 20px;
        width: 100%;
        text-align: center;
        font-size: 16px;
        border-radius: 12px;
    }

    .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(5px, -5px);
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .hero-card {
        max-width: 280px;
        padding: 20px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .booking-grid {
        grid-template-columns: 1fr 1fr;
    }

    .social-grid {
        grid-template-columns: 1fr 1fr;
    }

    .coach-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .modal-box {
        padding: 28px 20px 24px;
        margin: 16px;
    }
    .modal-box .qr-wrap img {
        width: 150px;
        height: 150px;
    }
    .member-modal-box .qr-box img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .booking-grid {
        grid-template-columns: 1fr;
    }
    .social-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .coach-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 26px;
    }
    .hero-card {
        max-width: 100%;
    }
    .navbar .logo {
        font-size: 20px;
    }
    .navbar .logo i {
        font-size: 22px;
    }
    .container {
        padding: 0 16px;
    }
    section {
        padding: 56px 0;
    }
    .modal-box .qr-wrap img {
        width: 130px;
        height: 130px;
    }
    .member-modal-box .qr-box img {
        width: 130px;
        height: 130px;
    }
    .membership-grid {
        grid-template-columns: 1fr;
    }
}
