/* CSS Variables */
:root {
    --primary-color: #335EDD;
    --secondary-color: #A43EA7;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
}

.nav-brand h1 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

/* Create invisible hover bridge */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 1rem;
    background: transparent;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 180px;
    list-style: none;
    margin-top: 0;
    padding-top: 1rem;
}

.nav-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}

.dropdown-menu li {
    padding: 0.5rem 1rem;
}

.dropdown-menu a {
    display: block;
    white-space: nowrap;
}

.dropdown-menu a::after {
    display: none;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

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

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

/* App Store Badges */
.download-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.download-group .app-store-badge {
    margin: 0;
}

.platform-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-store-badge {
    display: inline-block;
    transition: var(--transition);
}

.app-store-badge:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.app-store-badge img {
    height: 60px;
    width: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Sections */
section {
    padding: 2rem 0;
}

section h2 {
    font-size: 2.0rem;
    margin-top: 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro {
    background: var(--white);
}

.intro-image {
    text-align: center;
}

.intro-image img {
    max-width: 100%;
    height: auto;
}

.intro p {
    font-size: 1.125rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: var(--light-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-image {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Additional Features */
.additional-features {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.additional-features h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item h4 {
    color: var(--secondary-color);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: var(--light-bg);
    text-align: center;
}

.cta .platform-label {
    color: var(--text-color);
}

.cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--gray);
}

/* Footer */
footer {
    background: var(--text-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    opacity: 0.8;
}

footer p {
    margin: 0.1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        position: relative;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu.active ~ .language-switcher {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .language-switcher {
        gap: 0.25rem;
    }

    .lang-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.85rem;
    }

    /* Mobile Dropdown Menu Fixes */
    .nav-dropdown {
        position: relative;
    }

    .nav-dropdown::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        display: none;
        background: var(--light-bg);
        box-shadow: none;
        border-radius: 4px;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
        min-width: auto;
        width: 100%;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li {
        padding: 0.5rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-store-badge img {
        height: 50px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    section h2 {
        font-size: 2rem;
    }

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

@media (max-width: 480px) {
    .nav-brand .logo {
        height: 32px;
    }

    .nav-brand h1 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    section {
        padding: 3rem 0;
    }

    .app-store-badge img {
        height: 45px;
    }
}

/* Tablet Landscape and iPad */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Ensure touch-friendly targets on all devices */
@media (hover: none) and (pointer: coarse) {
    .nav-menu a,
    .lang-btn,
    .hamburger {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Trial Page Styles */
.content-section {
    padding: 4rem 0;
}

.content-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.content-box:hover {
    box-shadow: var(--shadow-hover);
}

.content-box h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.content-box h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content-box p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.download-section {
    margin-top: 2rem;
    text-align: center;
}

.download-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.download-button.secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.text-link:hover {
    color: var(--secondary-color);
}

/* Buy Page Styles */
.app-purchase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.purchase-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.purchase-item:hover {
    box-shadow: var(--shadow-hover);
}

.purchase-item h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.purchase-item p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.app-store-badge {
    margin: 2rem 0;
}

.app-store-badge a {
    display: inline-block;
}

.app-store-badge img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.app-store-badge img:hover {
    transform: scale(1.05);
}

.note {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    margin-top: 2rem;
}

.note p {
    margin: 0;
    font-size: 0.95rem;
}

.note strong {
    color: var(--secondary-color);
}

/* Responsive Trial Page */
@media (max-width: 768px) {
    .content-box {
        padding: 1.5rem;
    }

    .content-box h2 {
        font-size: 1.5rem;
    }

    .content-box h3 {
        font-size: 1.25rem;
    }

    .download-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }

    .purchase-item {
        padding: 1.5rem;
    }

    .purchase-item h2 {
        font-size: 1.5rem;
    }

    .app-store-badge img {
        height: 50px;
    }
}

/* User Guide Styles */
.user-guide-content {
    background: var(--white);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* User Guide Headings */
.user-guide-content h1 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.2rem;
    text-align: left;
    font-weight: 700;
}

.user-guide-content h2 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
    text-align: left;
    font-weight: 600;
    background: none;
    -webkit-text-fill-color: unset;
}

.user-guide-content h3 {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
    font-weight: 600;
}

.user-guide-content h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    text-align: left;
    font-weight: 600;
}

/* User Guide Lists */
.user-guide-content ul,
.user-guide-content ol {
    padding-left: 2rem;
}

.user-guide-content p {
    margin-bottom: 1rem;
}

/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Guide Images and Videos */
.guide-image {
    max-width: 100%;
    height: auto;
    margin: 0.5rem 0;
    display: block;
}

.guide-video {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: block;
}

/* Guide Lists */
.guide-list {
    margin: 2rem 0;
    padding-left: 1.25rem;
    line-height: 1.8;
}

.guide-list li {
    margin-bottom: 1.5rem;
}

.guide-list .sub-list {
    margin-top: 1rem;
    padding-left: 1.25rem;
}

.guide-list .sub-list li {
    margin-bottom: 0.75rem;
}

/* Guide Navigation */
.guide-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.nav-button {
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.nav-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* User Guide Topics */
.user-guide-topics {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.topic-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
}

.topic-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.topic-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.topic-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.topic-card h3 a:hover {
    color: var(--secondary-color);
}

.topic-card p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

.guide-intro {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.guide-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.guide-intro p:last-child {
    margin-bottom: 0;
}

.toc-section {
    background: linear-gradient(135deg, rgba(51, 94, 221, 0.05), rgba(164, 62, 167, 0.05));
    border-radius: 12px;
    padding: 2rem !important;
    margin-bottom: 3rem !important;
}

.toc-section h2 {
    text-align: center;
}

.guide-toc {
    margin-top: 1.5rem;
}

.guide-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    column-count: 2;
    column-gap: 2rem;
}

.guide-toc li {
    margin-bottom: 0.75rem;
    break-inside: avoid;
}

.guide-toc a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}

.guide-toc a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.guide-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.guide-section:last-child {
    border-bottom: none;
}

.guide-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: left;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.guide-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    color: var(--primary-color);
}

.guide-section p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.guide-section ul,
.guide-section ol {
    margin: 1rem 0 1.5rem 2rem;
    line-height: 1.8;
}

.guide-section li {
    margin-bottom: 0.75rem;
}

.guide-section li strong {
    color: var(--primary-color);
}

.guide-section code {
    background: var(--light-bg);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
}

.cta-section {
    text-align: center;
    padding: 3rem 0 !important;
    background: linear-gradient(135deg, rgba(51, 94, 221, 0.05), rgba(164, 62, 167, 0.05));
    border-radius: 12px;
    margin-top: 2rem;
}

.cta-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-section .download-button {
    margin: 2rem 0;
}

.cta-section .app-store-badge {
    height: auto;
}

.trial-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--gray);
}

.trial-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.trial-note a:hover {
    text-decoration: underline;
}

/* Responsive User Guide */
@media (max-width: 768px) {
    .user-guide-content {
        padding: 2rem 1rem;
    }

    .guide-intro {
        padding: 1.5rem;
    }

    .guide-intro p {
        font-size: 1rem;
    }

    .toc-section {
        padding: 1.5rem !important;
    }

    .guide-toc ul {
        column-count: 1;
    }

    .guide-section {
        padding: 1.5rem 0;
        margin-bottom: 2rem;
    }

    .guide-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .guide-section h3 {
        font-size: 1.25rem;
    }

    .guide-section ul,
    .guide-section ol {
        margin-left: 1.25rem;
    }

    .cta-section {
        padding: 2rem 1rem !important;
    }

    .quick-start-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .guide-topic {
        padding: 2rem 0;
    }

    .topic-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .topic-number {
        font-size: 1.5rem;
    }

    .topic-header h2 {
        font-size: 1.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .method-cards {
        grid-template-columns: 1fr;
    }

    .steps-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .step {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
}

/* New User Guide Design Components */

/* Hero Compact */
.hero-compact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem 0 2rem;
    text-align: center;
}

.hero-compact h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-compact .tagline {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* User Guide Overview */
.user-guide-overview {
    padding: 3rem 0;
    background: var(--light-bg);
}

.user-guide-overview .intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Quick Start Grid */
.quick-start-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.quick-start-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.quick-start-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.quick-start-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
}

.quick-start-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--secondary-color);
    gap: 0.75rem;
}

/* Guide Content Detailed */
.guide-content-detailed {
    padding: 4rem 0;
}

/* Guide Topic Sections */
.guide-topic {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.guide-topic:last-of-type {
    border-bottom: none;
}

.topic-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.topic-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 1;
}

.topic-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.topic-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
}

.topic-content p {
    margin-bottom: 1.5rem;
}

.topic-content ul,
.topic-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.topic-content li {
    margin-bottom: 0.75rem;
}

.topic-content h3,
.topic-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.topic-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.topic-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.feature-item h4 {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
    color: var(--primary-color) !important;
    font-size: 1.1rem !important;
}

.feature-item p {
    margin: 0 !important;
    color: var(--gray);
    font-size: 0.95rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin-left: 0 !important;
}

.feature-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
}

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

/* Method Cards */
.method-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.method-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: var(--transition);
}

.method-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.method-card h4 {
    color: var(--primary-color) !important;
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
    font-size: 1.2rem !important;
}

.method-card p {
    margin: 0 !important;
    color: var(--text-color);
    line-height: 1.6;
}

/* Steps List */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step-content h4 {
    margin: 0 0 0.5rem 0 !important;
    color: var(--primary-color) !important;
    font-size: 1.1rem !important;
}

.step-content p {
    margin: 0 !important;
    color: var(--gray);
    line-height: 1.6;
}

/* Tip Box */
.tip-box {
    background: linear-gradient(135deg, rgba(51, 94, 221, 0.05), rgba(164, 62, 167, 0.05));
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.tip-box h4 {
    margin: 0 0 1rem 0 !important;
    color: var(--primary-color) !important;
    font-size: 1.2rem !important;
}

.tip-box ul {
    margin-left: 1.5rem !important;
    margin-bottom: 0 !important;
}

.tip-box li {
    margin-bottom: 0.5rem;
}

/* Highlight Box */
.highlight-box {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.highlight-box h4 {
    margin: 0 0 1rem 0 !important;
    color: var(--primary-color) !important;
    font-size: 1.2rem !important;
}

.highlight-box ul {
    margin-left: 1.5rem !important;
    margin-bottom: 0 !important;
}

/* Guide CTA */
.guide-cta {
    text-align: center;
    padding: 4rem 0;
    background: var(--light-bg);
    margin-top: 4rem;
    border-radius: 12px;
}

.guide-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.guide-cta p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-compact h1 {
        font-size: 1.75rem;
    }

    .hero-compact .tagline {
        font-size: 1rem;
    }

    .topic-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .topic-number {
        font-size: 2rem;
    }

    .topic-header h2 {
        font-size: 1.5rem;
    }
}

/* FAQ List Styles */
.faq-list {
    padding: 2rem 0;
}

.faq-items {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-date {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.faq-item h3 {
    font-size: 1.5rem;
}

.faq-item h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.faq-item h3 a:hover {
    color: var(--secondary-color);
}

.faq-item p {
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
}
