/* ==========================================================================
   Channey Y'Dreo Benedicto Marzan - Digital Business & Contact Card Stylesheet
   Modern Glassmorphism, HSL Design System, Animations & Responsive Layout
   ========================================================================== */

/* --- CSS Variables & Theme Definitions --- */
:root {
    /* Color Palette - HSL Values (Dark Mode Default) */
    --bg-main: #0b0f19;
    --bg-card: rgba(15, 23, 42, 0.65);
    --bg-card-solid: #0f172a;
    --bg-input: rgba(30, 41, 59, 0.6);
    --bg-tile: rgba(30, 41, 59, 0.45);
    --bg-tile-hover: rgba(51, 65, 85, 0.6);

    --border-card: rgba(255, 255, 255, 0.12);
    --border-card-hover: rgba(139, 92, 246, 0.4);
    --border-light: rgba(255, 255, 255, 0.08);

    /* Vibrant Brand Accents */
    --primary: #6366f1;         /* Indigo */
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.35);

    --secondary: #8b5cf6;       /* Violet */
    --secondary-glow: rgba(139, 92, 246, 0.35);

    --accent: #ec4899;          /* Pink/Magenta Accent */
    --accent-glow: rgba(236, 72, 153, 0.35);

    --success: #10b981;         /* Emerald */
    --success-glow: rgba(16, 185, 129, 0.3);

    /* Text Colors */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-sub: #cbd5e1;

    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --glow-card: 0 0 40px rgba(99, 102, 241, 0.12);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Overrides */
[data-theme="light"] {
    --bg-main: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.82);
    --bg-card-solid: #ffffff;
    --bg-input: rgba(241, 245, 249, 0.8);
    --bg-tile: rgba(248, 250, 252, 0.9);
    --bg-tile-hover: rgba(241, 245, 249, 1);

    --border-card: rgba(203, 213, 225, 0.7);
    --border-card-hover: rgba(99, 102, 241, 0.5);
    --border-light: rgba(226, 232, 240, 0.8);

    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-sub: #334155;

    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 20px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
    --glow-card: 0 10px 30px rgba(99, 102, 241, 0.08);
}

/* --- Base & Reset Rules --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem;
    overflow-x: hidden;
    line-height: 1.5;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* --- Animated Ambient Mesh Background --- */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.45;
    animation: orbFloat 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, var(--primary) 0%, rgba(99, 102, 241, 0) 70%);
    top: -50px;
    left: -50px;
}

.orb-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--secondary) 0%, rgba(139, 92, 246, 0) 70%);
    bottom: -100px;
    right: -50px;
    animation-delay: -7s;
}

.orb-3 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--accent) 0%, rgba(236, 72, 153, 0) 70%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.1); }
    100% { transform: translate(-20px, 30px) scale(0.95); }
}

/* --- Top Utility Bar --- */
.top-bar {
    width: 100%;
    max-width: 620px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding: 0.5rem 0.25rem;
}

.nfc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-full);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-sub);
    box-shadow: var(--shadow-sm);
}

.nfc-icon {
    color: var(--success);
    display: flex;
    align-items: center;
    animation: nfcPulse 2.5s infinite ease-in-out;
}

@keyframes nfcPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.18); opacity: 0.7; }
}

.utility-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.utility-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-card);
    background: var(--bg-card);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.utility-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Theme icon toggling */
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

/* --- App Container & Glass Card --- */
.app-container {
    width: 100%;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.25rem 1.75rem;
    box-shadow: var(--shadow-lg), var(--glow-card);
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

/* --- Hero Header Section --- */
.card-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}

.avatar-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar-ring {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    box-shadow: 0 0 25px var(--primary-glow);
    transition: transform var(--transition-smooth);
}

.avatar-ring:hover {
    transform: scale(1.04) rotate(4deg);
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-card-solid);
    border: 3px solid var(--bg-card-solid);
    display: flex;
    align-items: center;
    justify-content: center;
}



.status-indicator {
    margin-top: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--success);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success);
    box-shadow: 0 0 8px var(--success-glow);
    animation: statusPulse 1.8s infinite ease-in-out;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
}

.profile-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.name-badge-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.profile-name {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--text-main) 60%, var(--text-sub));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.verified-badge {
    color: var(--primary);
    display: flex;
    align-items: center;
}

.profile-fullname {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
}

.profile-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.2rem;
}

.location-pill {
    margin-top: 0.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Action Dock --- */
.action-dock {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.75rem;
}

@media (min-width: 480px) {
    .action-dock {
        grid-template-columns: repeat(4, 1fr);
    }
}

.dock-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 0.6rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-card);
    background: var(--bg-tile);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.dock-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.primary-btn:hover {
    box-shadow: 0 6px 20px var(--primary-glow);
    filter: brightness(1.08);
}

.secondary-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-tile-hover);
}

.accent-btn {
    background: rgba(236, 72, 153, 0.12);
    border: 1px solid rgba(236, 72, 153, 0.3);
    color: var(--accent);
}

.accent-btn:hover {
    background: rgba(236, 72, 153, 0.22);
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* --- Bio Section --- */
.bio-card-section {
    margin-top: 1.5rem;
    padding: 1rem 1.15rem;
    background: var(--bg-tile);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.bio-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-sub);
    font-weight: 400;
}

/* --- Search & Filter Bar --- */
.search-filter-section {
    margin-top: 1.5rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    pointer-events: none;
}

.search-field {
    width: 100%;
    padding: 0.85rem 2.6rem 0.85rem 2.75rem;
    background: var(--bg-input);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
    transition: all var(--transition-fast);
}

.search-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 18px var(--primary-glow);
    background: var(--bg-card-solid);
}

.clear-search-btn {
    position: absolute;
    right: 0.85rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
}

.clear-search-btn:hover {
    color: var(--text-main);
}

.hidden {
    display: none !important;
}

/* --- Section Navigation Tabs --- */
.nav-tabs {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scrollbar-width: none;
}

.nav-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 0.45rem 0.95rem;
    background: var(--bg-tile);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-main);
    border-color: var(--border-card);
}

.tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px var(--primary-glow);
}

/* --- Content Sections --- */
.content-sections {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.card-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-light);
}

.title-icon {
    color: var(--primary);
}

/* --- Contact Links Grid --- */
.contact-links-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-tile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1.15rem;
    background: var(--bg-tile);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-main);
    transition: all var(--transition-fast);
}

.contact-tile:hover {
    transform: translateX(4px);
    border-color: var(--border-card-hover);
    background: var(--bg-tile-hover);
    box-shadow: var(--shadow-sm);
}

.tile-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary);
    flex-shrink: 0;
}

.website-icon { color: #38bdf8; background: rgba(56, 189, 248, 0.12); }
.email-icon { color: #f43f5e; background: rgba(244, 63, 94, 0.12); }
.location-icon { color: #10b981; background: rgba(16, 185, 129, 0.12); }
.edu-icon { color: #a855f7; background: rgba(168, 85, 247, 0.12); }

.tile-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
}

.tile-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tile-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tile-action {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
}

.tile-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

/* --- Social Media Grid --- */
.social-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.75rem;
}

@media (min-width: 460px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.social-tile {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: var(--bg-tile);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-main);
    transition: all var(--transition-fast);
}

.social-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.github-tile:hover { border-color: #94a3b8; }
.linkedin-tile:hover { border-color: #0077b5; }
.facebook-tile:hover { border-color: #1877f2; }
.instagram-tile:hover { border-color: #e4405f; }

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}

.github-tile .social-icon { color: #f8fafc; }
.linkedin-tile .social-icon { color: #0077b5; }
.facebook-tile .social-icon { color: #1877f2; }
.instagram-tile .social-icon { color: #e4405f; }

.social-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
}

.social-name {
    font-size: 0.88rem;
    font-weight: 700;
}

.social-handle {
    font-size: 0.76rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.social-arrow {
    font-weight: 700;
    color: var(--text-muted);
}

/* --- Projects List --- */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-card {
    padding: 1.15rem;
    background: var(--bg-tile);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    transition: all var(--transition-fast);
}

.project-card:hover {
    border-color: var(--border-card-hover);
    box-shadow: var(--shadow-md);
}

.project-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.project-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary);
}

.project-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.project-desc {
    font-size: 0.85rem;
    color: var(--text-sub);
    line-height: 1.5;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.2rem;
}

.project-tags span {
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-mono);
    padding: 0.2rem 0.55rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}

/* --- Skills Wrapper --- */
.skills-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.skill-category {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.skill-cat-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skills-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-pill {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    background: var(--bg-tile);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-full);
    color: var(--text-main);
    transition: all var(--transition-fast);
}

.skill-pill:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.skill-pill.highlight {
    border-color: var(--primary-glow);
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

/* --- Footer --- */
.card-footer {
    margin-top: 2.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.nfc-footer-note {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success);
}

/* --- QR Modal Window --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn var(--transition-fast);
}

.modal-card {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideUp var(--transition-smooth);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: var(--bg-tile);
    color: var(--text-main);
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.modal-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.qr-code-wrapper {
    padding: 1rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.25rem;
}

.qr-canvas-box svg, .qr-canvas-box canvas, .qr-canvas-box img {
    display: block;
    width: 180px;
    height: 180px;
}

.modal-link-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.85rem;
    background: var(--bg-tile);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    gap: 0.5rem;
}

.qr-url-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-copy-btn {
    padding: 0.35rem 0.75rem;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.modal-copy-btn:hover {
    background: var(--primary-hover);
}

/* --- Toast Notification Popup --- */
.toast-popup {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-card-hover);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg), 0 0 20px var(--primary-glow);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 2000;
    animation: toastPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--success);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.toast-msg {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes toastPop {
    from { opacity: 0; transform: translate(-50%, 20px) scale(0.9); }
    to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

/* --- FAQ & AEO Accordion Block --- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-item {
    padding: 1.05rem 1.15rem;
    background: var(--bg-tile);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    transition: all var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--border-card-hover);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.faq-answer {
    font-size: 0.86rem;
    color: var(--text-sub);
    line-height: 1.55;
}

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

.faq-answer a:hover {
    text-decoration: underline;
}
