/*
 * PadForPet Core Stylesheet
 * Custom Crafted for Extreme Speed, Clean Aesthetics, and SEO/AOI Focus
 */

:root {
    --primary: #0077b6;
    --primary-hover: #03045e;
    --secondary: #0ea5e9;
    --dark: #1e293b;
    --dark-light: #475569;
    --light: #f8fafc;
    --white: #ffffff;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --border: #e2e8f0;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--light);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
}

/* 布局版流 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 导航栏 */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 35px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-item a {
    text-decoration: none;
    color: var(--dark-light);
    font-weight: 600;
    transition: color 0.2s ease;
    font-size: 1rem;
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--primary);
}

/* 核心 Hero 区域 */
.hero {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    padding: 4rem 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.75rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--dark-light);
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 按钮样式 (AOI 视觉焦点) */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.3), 0 2px 4px -1px rgba(249, 115, 22, 0.06);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* 特色区块 */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--dark-light);
}

/* 卡片网格 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.card p {
    color: var(--dark-light);
    font-size: 0.95rem;
}

/* 产品与服务页面规格表 */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1rem;
    background-color: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border);
}

.specs-table th {
    background-color: var(--primary);
    color: var(--white);
    text-align: left;
    padding: 1rem;
    font-weight: 700;
}

.specs-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--dark-light);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table tr:nth-child(even) {
    background-color: var(--light);
}

/* 优势产品卡片 - 图文并排 */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse .feature-content {
    direction: ltr;
}

.feature-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

.feature-content ul {
    list-style-type: none;
    margin-bottom: 2rem;
}

.feature-content ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--dark-light);
}

.feature-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

/* 团队卡片 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.team-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.team-img-wrapper {
    background-color: var(--light);
    padding: 2rem 0 1rem 0;
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.team-info .role {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.team-info p {
    font-size: 0.9rem;
    color: var(--dark-light);
}

/* 试用 Trial Banner 区块 */
.trial-cta {
    background-color: var(--dark);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.trial-cta h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.trial-cta p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    color: var(--border);
}

/* 联系信息卡片 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-method-icon {
    font-size: 1.5rem;
    color: var(--primary);
    background-color: #e0f2fe;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-method-text p,
.contact-method-text a {
    color: var(--dark-light);
    font-size: 1rem;
    text-decoration: none;
}

.contact-method-text a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* 合作伙伴 Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.testimonial-author {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.testimonial-author span {
    display: block;
    font-weight: 400;
    color: var(--primary);
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

/* 页脚 */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 2rem 0;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-about h4 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-about p {
    font-size: 0.95rem;
    max-width: 450px;
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-list a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links-list a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* 响应式媒体查询 */
@media (max-width: 992px) {
    .hero-grid,
    .feature-row,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .hero-image,
    .feature-row.reverse {
        order: -1;
    }
    
    .grid-3,
    .team-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-row.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .grid-3,
    .team-grid,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}


/* ----------------------------------------------------
 * 追加：B2B 免费样品表单 & 黄金横幅卡片样式 (Marketing Hooks)
 * ---------------------------------------------------- */

.sample-banner-card {
    background: linear-gradient(135deg, var(--accent) 0%, #ea580c 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.3);
    margin: 4rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.sample-banner-text {
    text-align: left;
}

.sample-banner-text h3 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.sample-banner-text p {
    font-size: 1.05rem;
    opacity: 0.9;
}

/* 询盘/样品表单 */
.sample-form-wrapper {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.sample-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.sample-form-wrapper p {
    font-size: 0.95rem;
    color: var(--dark-light);
    text-align: center;
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
}

.form-group label span {
    color: var(--accent);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--dark);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

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

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .sample-banner-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    .sample-banner-text {
        text-align: center;
    }
    .sample-form-wrapper {
        padding: 1.5rem;
    }
}
