/* Variables and Base Reset */
:root {
    --primary-color: #12B08C; /* Teal/Green color from UI */
    --secondary-color: #F8F8F8; /* Light gray for sections */
    --text-color: #333;
    --white: #fff;
    --dark-grey: #666;
    --font-family: 'Poppins', sans-serif;
	--accent-color-yellow: #FFC72C; /* 亮黄色/琥珀色 */
    --accent-color-hover: #FFAA00; /* 鼠标悬停时略深的琥珀色 */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.main-header {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.logo-bold {
    font-weight: 700;
    color: var(--text-color);
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--dark-grey);
    font-weight: 500;
}

/* --- CTA Buttons 优化 --- */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    /* 确保文字在深色背景/青色背景下对比明显 */
}

/* Primary CTA: 用于 Hero Section (改为黄色) */
.primary-cta {
    background-color: var(--accent-color-yellow); 
    color: #333; /* 按钮文本改为深色，在亮黄色上对比度更强 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* 增加阴影，使其突出 */
    transform: translateY(0);
    font-weight: 800; /* 增加字重 */
}

.primary-cta:hover {
    background-color: var(--accent-color-hover); 
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* Secondary CTA (例如计算器中的按钮，保持深色以区分优先级) */
.secondary-cta {
    background-color: #444; 
    color: var(--white);
    width: 100%;
    margin-top: 20px;
}
.secondary-cta:hover {
    background-color: #222;
}

/* Hero Section 里的 CTA 需要额外的间距，确保它与文字分开 */
.hero-text .cta-button {
    margin-top: 25px;
    font-size: 18px; /* 英雄区的按钮可以略大 */
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    max-width: 50%;
}

.hero-text h1 {
    font-size: 44px;
    margin-bottom: 15px;
    line-height: 1.1;
}

.tagline {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-image {
    max-width: 40%;
}

.mockup-img {
    width: 100%;
    height: auto;
}

/* Calculator Section */
.calculator-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
    text-align: center;
}

.calculator-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.sub-header {
    font-size: 18px;
    color: var(--dark-grey);
    margin-bottom: 40px;
}

.calculator-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 600;
    margin-bottom: 5px;
}

.input-group input, .input-group select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
}

.results-container {
    grid-column: 1 / -1; /* Span two columns */
    text-align: center;
}

.results-output {
    margin-top: 30px;
    padding: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: #e6fff7;
}

.results-output h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 10px;
}

.results-output p {
    color: var(--dark-grey);
}

/* Lead Capture Section */
.lead-capture-box {
    grid-column: 1 / -1;
    background: #f0f0f0;
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
}

.lead-capture-box h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.signup-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.signup-form input[type="email"] {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.signup-form .primary-cta {
    padding: 12px 20px;
    font-size: 16px;
}

.compliance-note {
    font-size: 12px;
    color: var(--dark-grey);
    margin-top: 15px;
}

/* Footer */
footer {
    background: #333;
    color: var(--white);
    padding: 20px 0;
    font-size: 14px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: var(--white);
    margin-left: 20px;
    text-decoration: none;
}

/* Tooltip Styling */
.tooltip {
    cursor: help;
    color: var(--dark-grey);
    margin-left: 5px;
}
/* Guide Specific Styles */
.guide-content {
    text-align: left;
    padding-top: 40px;
}

.guide-module {
    margin-bottom: 40px;
    padding: 20px;
    border-left: 5px solid var(--primary-color);
    background-color: #f7fcfb; /* Slightly lighter background for guide modules */
}

.guide-module h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
}

.guide-module h4 {
    margin-top: 15px;
    color: var(--text-color);
}

.guide-module ul, .guide-module ol {
    margin-left: 25px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.guide-cta-box {
    text-align: center;
    padding: 30px;
    background-color: #e6fff7;
    border-radius: 8px;
    margin-top: 40px;
}

.about-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--white);
}

.about-section h2 {
    margin-bottom: 20px;
}
/* --- 动态效果：呼吸/浮动动画 (应用于 app-mockup-graphic) --- */
@keyframes float {
    0% {
        transform: translatey(0px); /* 初始位置 */
    }
    50% {
        transform: translatey(-8px); /* 向上浮动 8 像素 */
    }
    100% {
        transform: translatey(0px); /* 返回初始位置 */
    }
}

/* 确保图片自适应和应用动态效果 */
.app-mockup-graphic {
    width: 100%;
    height: auto;
    display: block;
    /* 应用浮动动画 */
    animation: float 6s ease-in-out infinite; /* 6秒一个循环，无限重复 */
    will-change: transform; /* 提升动画性能 */
}

/* --- 响应式调整 (确保在不同设备上适应) --- */

.hero-content {
    /* 确保容器使用 flex 布局，方便自适应 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 20px 0;
}

.hero-text {
    max-width: 55%; /* 文本占据左侧空间 */
}

.hero-image {
    max-width: 40%; /* 图片占据右侧空间 */
    padding: 20px 0;
}

/* 平板和手机适应性 (Media Queries) */
@media (max-width: 992px) {
    /* 当屏幕宽度小于 992px 时（平板电脑），垂直堆叠 */
    .hero-content {
        flex-direction: column; 
        text-align: center;
    }

    .hero-text {
        max-width: 90%; 
        order: 2; /* 让文字部分在图片下方 (可选) */
    }

    .hero-image {
        max-width: 60%; /* 图片可以更大一点 */
        order: 1; /* 让图片部分在文字上方 (可选) */
    }
}

@media (max-width: 600px) {
    /* 手机端 */
    .hero-image {
        max-width: 80%;
    }
}
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text, .hero-image {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .calculator-form {
        grid-template-columns: 1fr;
    }
    
    .signup-form {
        flex-direction: column;
    }
}