/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Libre+Franklin:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --card-border: #e4e4e7;
    --text-primary: #18181b;
    --text-secondary: #52525b;
    --accent-color: #48E86B; /* Zapier Orange-ish */
    --accent-hover: #39da5d;
    --link-color: #2563eb;
    --success-color: #10b981;
    --font-header: 'Libre Baskerville', serif;
    --font-body: 'Libre Franklin', sans-serif;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --tag-bg: #f4f4f5;
    --tag-text: #3f3f46;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    padding-top: 80px;
}

h1, h2 {
    font-family: var(--font-header);
}

h3, h4, h5, h6 {
    font-family: var(--font-body);
}

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

/* Hero / Hero Header */
.hero-header {
    text-align: center;
    padding: 80px 0 60px;
}

.hero-header h1 {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-header p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

.enterprise-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #89fa8a;
}

.dot-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #89FA8A;
    box-shadow: 0 0 0 0 rgba(31, 255, 165, 0.6);
    animation: dotPulse 2s infinite;
    margin-right: 5px;
}

@keyframes dotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(31, 255, 113, 0.6);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(31, 255, 98, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(31, 255, 102, 0);
    }
}

/* Pills navigation */
.nav-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.pill {
    padding: 8px 16px;
    border: 1px solid var(--card-border);
    border-radius: 4px;
    background: #fff;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

/* Search Bar */
.search-wrapper {
    max-width: 600px;
    margin: 0 auto 60px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 48px;
    font-size: 1rem;
    border: 1px solid var(--card-border);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
    box-shadow: var(--shadow-sm);
}

.search-input:focus {
    border-color: var(--text-secondary);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

/* Separator */
.section-divider {
    border-top: 1px solid #e5e7eb;
    margin: 60px auto 60px;
    position: relative;
    max-width: 800px;
}

.divider-text {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 0 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Category Cards */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.category-card {
    background: #f9fafb;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.category-card:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.category-icon {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.category-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.category-count {
    display: inline-block;
    background: #e5e7eb;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.active-category {
    background: #18181b;
    color: #fff;
    border-color: #18181b;
}
.active-category .category-title { color: #fff; }
.active-category .category-icon { color: #fff; }
.active-category:hover { background: #27272a; }

/* App Grid */
.apps-header {
    margin-bottom: 24px;
    text-align: center;
}

.apps-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.connections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 40px 0 0 200px;
} 

.app-card {
    display: flex;
    gap: 16px;
    padding: 0;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.app-card:hover { opacity: 0.8; }

.app-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
}

.app-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.app-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Detail Page Styles */
.detail-header-bg {
    background: #10b981;
    height: 200px;
    width: 100%;
}

.detail-container {
    max-width: 1000px;
    margin: -100px auto 0;
    padding: 0 20px 60px;
    position: relative;
}

.app-header-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--card-border);
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.big-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.platform-icon-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #ffffff;
}

.platform-icon-wrapper.large {
    width: 68px;
    height: 68px;
    padding: 12px;
}

.platform-icon-wrapper.small {
    width: 48px;
    height: 48px;
    padding: 8px;
    border-radius: 8px;
}

.platform-icon-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.app-header-content { flex: 1; }
.app-header-content h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.app-meta {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.tab-nav {
    display: flex;
    gap: 32px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 40px;
    justify-content: center;
}

.tab-link {
    padding: 12px 4px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab-link.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.detail-content-grid {
    display: flex;
    gap: 60px;
    margin-top: 20px;
}

.detail-spacer { flex: 1; }
.detail-main-content { flex: 7; }
.detail-sidebar {
    flex: 3;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.about-section-container {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.about-logo {
    margin-top: 4px;
    flex-shrink: 0;
}

.about-text { flex: 1; }

@media (max-width: 1024px) {
    .detail-content-grid {
        flex-direction: column;
        gap: 40px;
    }
    .detail-spacer { display: none; }
    .detail-main-content { width: 100%; }
    .detail-sidebar {
        position: static;
        width: 100%;
        order: 2;
    }
    .container { padding: 0 20px 40px; }
}

.hero-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.hero-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .detail-content-grid h2 { font-size: 1.75rem !important; }
    .detail-content-grid { margin-top: 40px; }
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    min-width: 380px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    font-size: 17px;
}
.btn-primary:hover { background-color: var(--accent-hover); }

.btn-secondary {
    background-color: #3b82f6;
    color: #fff;
}
.btn-secondary:hover { background-color: #2563eb; }

.btn-google {
    background-color: #4285F4;
    color: #fff;
    padding: 2px;
    position: relative;
    border: none;
    border-radius: 8px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-google:hover { background-color: #3367D6; }

.btn-google .google-icon-wrapper {
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    flex-shrink: 0;
}

.btn-google .google-icon-wrapper img { width: 20px; height: 20px; }
.btn-google .btn-text {
    flex: 1;
    text-align: center;
    font-weight: 600;
    font-size: 17px;
    padding-right: 42px;
}

.actions-section {
    margin-top: 80px;
    text-align: center;
}

.bottom-cta-section {
    background-color: rgba(73, 97, 246, 0.1);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    margin-top: 60px;
}

.bottom-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333333;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-body);
}

.bottom-cta-section .cta-buttons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.actions-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.t-a-description {
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
}

.t-a-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    text-align: left;
}

.card-simple {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.card-simple h3 {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.card-simple p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.icon-box {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--card-border);
    padding: 4px;
    overflow: hidden;
}

.icon-box img { max-width: 100%; max-height: 100%; object-fit: contain; }

.badge-pill {
    font-size: 0.75rem;
    padding: 2px 8px;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 10px;
    margin-left: auto;
}

/* Site Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 74px;
    z-index: 3000;
}

.site-header-inner {
    position: relative;
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header-inner .logo, .site-header-inner .auth-actions {
    position: relative;
    z-index: 1;
}

.site-header .logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-family: 'Libre Baskerville', serif;
    color: #333;
    text-decoration: none;
}

.site-header .logo img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.header-blur {
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 12px;
    right: 18px;
    border-radius: 9999px;
    background: color-mix(in srgb, #ffffff 14%, transparent);
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    background:
        linear-gradient(135deg, rgba(137, 250, 138, 0), rgba(137, 250, 138, 0), rgba(137, 250, 138, 0), rgba(137, 250, 138, 0.4)),
        color-mix(in srgb, #ffffff 14%, transparent);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.22),
        inset 1.8px 3px 0 -2px rgba(255, 255, 255, 0.70),
        inset -2px -2px 0 -2px rgba(255, 255, 255, 0.60),
        inset -3px -8px 1px -6px rgba(255, 255, 255, 0.40),
        inset -0.3px -1px 4px 0 rgba(0, 0, 0, 0.12),
        inset -1.5px 2.5px 0 -2px rgba(0, 0, 0, 0.18),
        inset 0 3px 4px -2px rgba(0, 0, 0, 0.18),
        0 6px 16px rgba(0, 0, 0, 0.08);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    filter: blur(5px);
    transition: opacity 260ms cubic-bezier(.2, .9, .2, 1), filter 260ms cubic-bezier(.2, .9, .2, 1);
    will-change: opacity, filter;
}

.header-blur[data-scrolled="true"] {
    filter: blur(0px);
    opacity: 1;
}

.auth-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    font-family: 'Libre Franklin', sans-serif;
}

.header-plain-action {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: rgba(15, 23, 42, 0.9);
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    transition: opacity .15s ease, color .15s ease;
    text-decoration: none;
}

.header-plain-action:hover { opacity: 0.9; text-decoration: none; }
.header-plain-action:focus-visible {
    outline: 2px solid rgba(58, 180, 72, 0.9);
    outline-offset: 3px;
    border-radius: 4px;
}

.signup-button-header-style {
    background:
        linear-gradient(135deg, rgba(137, 250, 138, 1), rgba(137, 250, 138, 1)),
        color-mix(in srgb, #ffffff 14%, transparent);
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background .2s, box-shadow .2s, transform .15s;
    text-decoration: none;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.22),
        inset 1.8px 3px 0 -2px rgba(255, 255, 255, 0.70),
        inset -2px -2px 0 -2px rgba(255, 255, 255, 0.60),
        inset -3px -8px 1px -6px rgba(255, 255, 255, 0.40),
        inset -0.3px -1px 4px 0 rgba(0, 0, 0, 0.12),
        inset -1.5px 2.5px 0 -2px rgba(0, 0, 0, 0.18),
        inset 0 3px 4px -2px rgba(0, 0, 0, 0.18),
        0 6px 16px rgba(0, 0, 0, 0.08);
}

.signup-button-header-style:hover {
    background:
        linear-gradient(135deg, rgba(137, 250, 138, 0.9), rgba(137, 250, 138, 0.9)),
        color-mix(in srgb, #ffffff 14%, transparent);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.22),
        inset 1.8px 3px 0 -2px rgba(255, 255, 255, 0.70),
        inset -2px -2px 0 -2px rgba(255, 255, 255, 0.60),
        inset -3px -8px 1px -6px rgba(255, 255, 255, 0.40),
        inset -0.3px -1px 4px 0 rgba(0, 0, 0, 0.12),
        inset -1.5px 2.5px 0 -2px rgba(0, 0, 0, 0.18),
        inset 0 3px 4px -2px rgba(0, 0, 0, 0.18),
        0 8px 20px rgba(0, 0, 0, 0.12);
}

.signup-button-header-style:active { transform: translateY(1px); }
.signup-button-header-style .arrow { font-size: 16px; line-height: 1.2; }

/* Footer */
.footer {
    width: 90%;
    max-width: 800px;
    font-family: 'Libre Franklin', sans-serif;
    text-align: center;
    font-weight: 300;
    font-size: 14px;
    color: #999;
    margin: 48px auto 32px auto;
    border-top: 1px solid #eeeeee;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px)) 20px;
}

.footer-content {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-nav-extra { display: flex; gap: 30px; }
.footer-nav-extra button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #333333;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}
.footer-nav-extra button:hover { opacity: 0.7; }

.footer-main-row { justify-content: space-between; gap: 40px; }
.footer-social-and-nav { display: flex; align-items: center; gap: 40px; }
.footer-secondary-row { justify-content: space-between; }
.footer-logo {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-family: 'Libre Baskerville', serif;
    color: #333;
    text-decoration: none;
    padding-bottom: 1px;
}

.footer-logo:hover { opacity: 0.8; text-decoration: none; }
.footer-logo img { width: 20px; height: 20px; margin-right: 6px; }

.footer-nav {
    display: flex;
    gap: 30px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #333333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}
.footer-nav a:hover { opacity: 0.7; text-decoration: none; }

.footer-social { display: flex; gap: 16px; margin-bottom: 0; }
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
}
.footer-social a:hover { opacity: 0.7; }
.footer-social img { width: 20px; height: 20px; }

.footer-copyright {
    color: #333333;
    font-size: 15px;
    text-align: center;
}

.mobile-copyright { display: none; }
.powered-by-link { color: #3ADA5C; text-decoration: none; }
.powered-by-link:hover { text-decoration: underline; }

/* Responsive adjustments */
@media (max-width: 700px) {
    .divider-text { font-size: 0.8rem; }
    .connections-grid {
        grid-template-columns: 1fr;
        margin-left: 80px;
        gap: 40px;
        padding: 0 20px;
    }
    .auth-actions .login-link { display: none; }
    .footer {
        padding: 15px 0 !important;
        width: 90% !important;
        box-sizing: border-box;
        transform: none !important;
        max-width: none !important;
        margin: 24px auto 24px auto !important;
        position: static !important;
    }
    .footer-content { gap: 16px !important; padding: 0 20px !important; }
    .footer-row {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: flex-start !important;
    }
    .footer-main-row {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100%;
        gap: 12px !important;
    }
    .footer-secondary-row {
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        width: 100%;
        gap: 16px !important;
    }
    .footer-social-and-nav {
        flex-direction: row !important;
        gap: 20px !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
    }
    .footer-left { gap: 12px !important; align-items: flex-start !important; }
    .footer-nav-extra { gap: 16px !important; }
    .footer-nav { gap: 16px !important; justify-content: flex-start !important; }
    .footer-social { gap: 12px !important; }
    .footer-nav a { font-size: 14px; }
    .desktop-copyright { display: none !important; }
    .mobile-copyright {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .mobile-copyright span { font-size: 14px; color: #333333; }
    .footer-secondary-row { align-items: center !important; }
    .footer-copyright { text-align: center !important; }
}

/* SEO Content and Feature Grid Styles (Added for Landing Page) */
.seo-section {
    max-width: 800px;
    margin: 80px auto;
    color: var(--text-secondary);
}

.seo-section h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 24px;
    text-align: center;
    font-family: var(--font-header);
}

.seo-section h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin: 32px 0 16px;
    font-weight: 600;
}

.seo-section p {
    margin-bottom: 16px;
    line-height: 1.7;
}

.seo-section ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.seo-section li {
    margin-bottom: 8px;
}

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

.feature-card {
    padding: 32px;
    background: #f9fafb;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    transition: all 0.2s;
}

.feature-card:hover {
    border-color: var(--accent-color);
    background: #f0fdf4;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-family: var(--font-header);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.code-snippet {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 16px;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid #333;
}

/* How To Section (Step-by-Step) */
.how-to-section {
    margin: 100px 0;
    text-align: center;
}

.how-to-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
    text-transform: uppercase;
    font-family: var(--font-header);
    letter-spacing: -0.02em;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--card-border);
}

.step-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #eee;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.step-1-icon { background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%); color: white; }
.step-2-icon { background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%); color: white; }
.step-3-icon { background: linear-gradient(135deg, #60a5fa 0%, #c084fc 100%); color: white; border-radius: 12px; }

.step-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .steps-grid { grid-template-columns: 1fr; }
    .step-card { min-height: auto; }
}

/* FAQ Section */
.faq-section {
    display: flex;
    gap: 60px;
    margin: 100px 0;
    align-items: flex-start;
}

.faq-title {
    flex: 1;
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-header);
    text-transform: uppercase;
    color: var(--text-primary);
    position: sticky;
    top: 100px;
}

.faq-list {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #f9fafb;
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s;
}

.faq-item:hover {
    background: #f3f4f6;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    gap: 16px;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #9ca3af;
    line-height: 1;
    transition: transform 0.2s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: max-height 0.3s ease-out, margin-top 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 16px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .faq-section { flex-direction: column; gap: 40px; }
    .faq-title { position: static; font-size: 2.5rem; }
}

/* FAQ Interactive States */
.faq-item.active {
    cursor: default;
}

.faq-item.active .faq-question {
    cursor: pointer;
}


/* =========================================
   Message Bar Styles (Ported from index.html)
   ========================================= */
.message-input-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.2s;
    padding: 16px;
}

.message-input-wrapper.drag-over {
    border-color: var(--accent-color);
    background: #f0fdf4;
}

.message-input-wrapper.drag-over::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    z-index: 5;
    pointer-events: none;
}

.drop-zone-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 10;
    pointer-events: none;
}

.message-input-wrapper.drag-over .drop-zone-indicator {
    display: flex;
}

.drop-zone-indicator i {
    font-size: 32px;
    color: var(--accent-color);
    opacity: 0.9;
}

.drop-zone-indicator span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    opacity: 0.9;
}

.message-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    resize: none;
    font-family: var(--font-body);
    min-height: 60px;
    max-height: 160px;
    padding: 4px;
    background: transparent;
    overflow-y: auto;
}

.input-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2px;
}

.attach-btn {
    width: 36px;
    height: 36px;
    background: transparent;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #a1a1aa;
    font-size: 1.1rem;
}

.attach-btn:hover {
    background: #f4f4f5;
    color: var(--text-primary);
}

.send-btn {
    width: 36px;
    height: 36px;
    background: #e4e4e7;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #fff;
    font-size: 1.1rem;
}

.message-input:valid ~ .input-actions-row .send-btn,
.message-input:not(:placeholder-shown) ~ .input-actions-row .send-btn {
    background: var(--text-primary);
}

.send-btn:hover {
    opacity: 0.9;
}

.file-attachment-preview {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.file-attachment-preview:not(:empty) {
    margin-top: 12px;
    margin-bottom: 8px;
}

.file-chip {
    background: var(--tag-bg);
    color: var(--tag-text);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.file-chip i {
    cursor: pointer;
}

/* =========================================
   Skills Grid Styles
   ========================================= */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.skill-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    cursor: pointer;
}

.skill-card:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.skill-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.skill-badge {
    background: #f1f5f9;
    color: #64748b;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 12px;
}

.skill-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.skill-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f4f4f5;
    font-size: 0.85rem;
    color: #94a3b8;
}

.skill-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* How To Use Section (Accordion Style) */
.how-to-use-section {
    margin: 0 auto 100px;
    padding: 0 20px;
    max-width: 900px;
}

.how-to-use-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
    text-transform: uppercase;
    font-family: var(--font-header);
    letter-spacing: -0.02em;
    text-align: center;
}

.how-to-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.how-to-item {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.how-to-item:hover {
    border-color: #cbd5e1;
}

.how-to-item.active {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.how-to-header {
    background: #fff;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    user-select: none;
}

.how-to-item.active .how-to-header {
    background: #f9fafb;
    border-bottom: 1px solid var(--card-border);
}

.how-to-icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--card-border);
    font-size: 1.2rem;
    color: var(--text-primary);
    flex-shrink: 0;
}

.how-to-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.how-to-toggle-icon {
    font-size: 1.2rem;
    color: #9ca3af;
    transition: transform 0.3s ease;
}

.how-to-item.active .how-to-toggle-icon {
    transform: rotate(180deg);
    color: var(--text-primary);
}

.how-to-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
}

.how-to-content {
    padding: 24px;
}

.how-to-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    align-items: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #f4f4f5;
    color: #52525b;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.platform-tag {
    font-size: 0.7rem;
    color: #fff;
    background: var(--text-primary);
    padding: 4px 10px;
    border-radius: 20px;
    margin-right: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Code block with copy button */
.code-wrapper {
    position: relative;
    margin: 12px 0 20px;
}

.code-block-sm {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 16px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    border: 1px solid #333;
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: pre;
}

.copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #a1a1aa;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.copy-btn.copied {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}
