/* ========================================
   Global Styles & Reset
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #03C75A;
    --secondary-color: #1E90FF;
    --background: #F8F9FA;
    --card-bg: #FFFFFF;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #E5E5E5;
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Header
   ======================================== */
.header {
    background: var(--card-bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo i {
    font-size: 1.6rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #11998e 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

/* Search Box */
.search-box {
    display: flex;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.search-input {
    width: 100%;
    padding: 18px 20px 18px 55px;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    box-shadow: var(--shadow);
    outline: none;
    transition: all 0.3s;
}

.search-input:focus {
    box-shadow: var(--shadow-hover);
}

.search-button {
    padding: 18px 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.search-button:hover {
    background: #02b350;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.search-tips {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.search-tips i {
    color: #FFC107;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   Stats Section
   ======================================== */
.stats {
    background: var(--card-bg);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ========================================
   Result Header
   ======================================== */
.result-header {
    background: var(--card-bg);
    padding: 2rem 0;
    box-shadow: var(--shadow);
}

.result-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.back-button {
    padding: 10px 20px;
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-button:hover {
    background: var(--border-color);
}

.search-info {
    flex: 1;
}

.search-keyword {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.search-keyword span {
    color: var(--primary-color);
}

.search-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.btn-secondary {
    padding: 10px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ========================================
   Summary Cards
   ======================================== */
.summary {
    padding: 2rem 0;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.summary-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s;
}

.summary-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.summary-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.summary-icon.blue {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.summary-icon.green {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.summary-icon.orange {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.summary-icon.red {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.summary-content {
    flex: 1;
}

.summary-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.summary-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ========================================
   Chart Section
   ======================================== */
.chart-section {
    padding: 2rem 0;
}

.chart-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.chart-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.chart-title i {
    color: var(--primary-color);
}

/* ========================================
   Table Section
   ======================================== */
.table-section {
    padding: 2rem 0 4rem;
}

.table-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.table-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.table-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.table-title i {
    color: var(--primary-color);
}

.table-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
}

.filter-group select:hover,
.filter-group select:focus {
    border-color: var(--primary-color);
}

.search-filter {
    position: relative;
    margin-left: auto;
}

.search-filter input {
    padding: 8px 35px 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
    width: 200px;
    transition: all 0.3s;
}

.search-filter input:focus {
    border-color: var(--primary-color);
    width: 250px;
}

.search-filter i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

/* Table */
.table-wrapper {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: var(--background);
}

.data-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}

.data-table th:hover {
    background: var(--border-color);
}

.data-table th i {
    margin-left: 5px;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.data-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.data-table tbody tr:hover {
    background: #f8f9fa;
}

.data-table td {
    padding: 1rem;
    color: var(--text-secondary);
}

.rank-cell {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.rank-cell.top-rank {
    color: var(--primary-color);
}

.place-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.rating {
    color: #FFC107;
    font-size: 0.9rem;
}

.category-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--background);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.review-count {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.review-number {
    font-weight: 600;
    color: var(--text-primary);
}

.score-cell {
    font-weight: 700;
    font-size: 1.1rem;
}

.score-high {
    color: var(--success);
}

.score-medium {
    color: var(--warning);
}

.score-low {
    color: var(--danger);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.3rem;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s;
}

.progress-fill.high {
    background: var(--success);
}

.progress-fill.medium {
    background: var(--warning);
}

.progress-fill.low {
    background: var(--danger);
}

.btn-keywords {
    padding: 6px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.btn-keywords:hover {
    background: #02b350;
    transform: scale(1.05);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
}

.page-btn {
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s;
}

.page-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   Modal
   ======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.modal-header i {
    color: var(--primary-color);
    margin-right: 8px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

.keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.keyword-item {
    padding: 8px 16px;
    background: var(--background);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.keyword-item:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* ========================================
   Loading Overlay
   ======================================== */
.loading-overlay {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    align-items: center;
    justify-content: center;
}

.loading-overlay.show {
    display: flex;
}

.loading-spinner {
    text-align: center;
}

.loading-spinner i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.loading-spinner p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--text-primary);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   Guide Page Styles
   ======================================== */

/* Guide Hero */
.guide-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.guide-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.guide-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Guide Section */
.guide-section {
    padding: 80px 0;
}

.guide-section.alt-bg {
    background: var(--card-bg);
}

.guide-content {
    max-width: 1000px;
    margin: 0 auto;
}

.guide-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guide-section-title i {
    color: var(--primary-color);
}

/* Guide Steps */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.guide-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.guide-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.step-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
    background: #fff8e1;
    border-left: 4px solid #FFC107;
    border-radius: 8px;
    margin-top: 1rem;
}

.step-tip i {
    color: #FFC107;
    font-size: 1.2rem;
    margin-top: 2px;
}

.step-tip span {
    color: var(--text-primary);
    line-height: 1.6;
}

/* Feature Guide Grid */
.feature-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-guide-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s;
}

.feature-guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.feature-guide-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
}

.feature-guide-icon.blue {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.feature-guide-icon.green {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.feature-guide-icon.orange {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.feature-guide-icon.purple {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.feature-guide-icon.pink {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.feature-guide-icon.teal {
    background: linear-gradient(135deg, #30cfd0, #330867);
}

.feature-guide-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-guide-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-guide-list {
    list-style: none;
    padding: 0;
}

.feature-guide-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.feature-guide-list li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Score Guide */
.score-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.score-guide-item {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.score-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.score-badge.high {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.score-badge.medium {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.score-guide-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.score-range {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.score-range-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.score-color {
    width: 30px;
    height: 30px;
    border-radius: 6px;
}

.score-color.high {
    background: var(--success);
}

.score-color.medium {
    background: var(--warning);
}

.score-color.low {
    background: var(--danger);
}

.score-label {
    color: var(--text-primary);
    font-weight: 500;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.tip-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
}

.tip-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tip-desc {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--background);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(90deg);
}

.faq-question span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 3.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* CTA Section */
.guide-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 18px 40px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Contact Page Styles
   ======================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-title i {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(3, 199, 90, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    padding: 16px 32px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.submit-button:hover {
    background: #02b350;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.contact-info-content {
    flex: 1;
}

.contact-info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-info-content p {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.contact-info-content small {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Info Boxes */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-box-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-box-header h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.info-box p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.info-box a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.info-box a:hover {
    text-decoration: underline;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .result-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .action-buttons {
        width: 100%;
        justify-content: flex-end;
    }
    
    /* Contact Page Responsive */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-button {
        justify-content: center;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .table-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-filter {
        margin-left: 0;
    }
    
    .search-filter input {
        width: 100%;
    }
    
    .search-filter input:focus {
        width: 100%;
    }
    
    .data-table {
        font-size: 0.85rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.7rem 0.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-secondary {
        justify-content: center;
    }
    
    /* Guide Page Responsive */
    .guide-hero-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .guide-hero-subtitle {
        font-size: 1rem;
    }
    
    .guide-section {
        padding: 60px 0;
    }
    
    .guide-section-title {
        font-size: 1.5rem;
    }
    
    .guide-step {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .step-title {
        font-size: 1.3rem;
    }
    
    .feature-guide-grid {
        grid-template-columns: 1fr;
    }
    
    .score-guide-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-desc {
        font-size: 1rem;
    }
    
    /* Contact Page Responsive */
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .contact-title {
        font-size: 1.3rem;
    }
    
    .info-boxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo span {
        font-size: 1rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

