:root {
    /* Dynamic Accents (Managed by Vibe Controller) */
    --primary: #00C6FF; /* Electric Blue */
    --primary-glow: rgba(0, 198, 255, 0.4);
    --secondary: #8E2DE2; /* Violet */
    --secondary-rgb: 142, 45, 226;
    --accent: #FF4DA6; /* Neon Pink */
    --orange: #FF945A; /* Signature Orange */
    --primary-rgb: 0, 198, 255;
    --primary-shadow: rgba(0, 198, 255, 0.3);
    
    /* Default Dark Theme Variables (Dark Matter) */
    --bg-dark: #0B0B0F;
    --bg-surface: rgba(11, 11, 15, 0.7);
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-input: rgba(255, 255, 255, 0.02);
    --text-main: #f9fafb;
    --text-muted: #94a3b8;
    --text-gradient: linear-gradient(135deg, #fff, #94a3b8);
    --border-color: rgba(255, 255, 255, 0.08); /* Slightly more prominent */
    --glass-blur: blur(25px); /* Enhanced blur */
    --card-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
    --bg-dark: #f1f5f9; /* Soft tech gray */
    --bg-surface: rgba(255, 255, 255, 0.95);
    --bg-card: #ffffff;
    --bg-input: rgba(0, 0, 0, 0.03);
    --text-main: #0f172a; /* Deep navy/charcoal for max contrast */
    --text-muted: #475569;
    --text-gradient: linear-gradient(135deg, #0f172a, #334155);
    --border-color: rgba(0, 0, 0, 0.1);
    --glass-blur: blur(10px);
    --card-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Background Effects */
.bg-visuals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: drift 20s linear infinite alternate;
}

.blob-primary {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.blob-secondary {
    bottom: -15%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    animation-delay: -5s;
    animation-duration: 25s;
}

.blob-accent {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.2;
    animation-duration: 30s;
}

.bg-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10vw, 5vh) scale(1.1); }
    66% { transform: translate(-5vw, 15vh) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

[data-theme="light"] .blob {
    opacity: 0.2;
    filter: blur(120px);
}

/* Container */
.connect-container {
    max-width: 550px;
    margin: 0 auto;
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    min-height: 100vh;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-bottom: 100px;
    transition: background 0.5s ease, color 0.5s ease;
}

@media (max-width: 600px) {
    .connect-container {
        max-width: 100vw;
        border: none;
    }
}

/* Cover Photo */
.cover-photo {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 60px 60px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--border-color);
}

.cover-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, var(--bg-surface), transparent);
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, var(--bg-dark) 100%);
    transition: background 0.5s ease;
}

/* Profile Section */
.profile-section {
    padding: 0 24px;
    margin-top: -60px;
    position: relative;
    text-align: center;
}

.profile-avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ffffff;
    padding: 10px;
    border: 4px solid var(--bg-dark);
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 2;
    object-fit: contain;
}

.avatar-glow {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    z-index: 1;
    animation: rotate 6s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.user-name {
    font-size: 2.2rem;
    margin-bottom: 4px;
    background: var(--text-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--text-main);
}

.user-title {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.brand-highlight {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 700;
}

.user-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.user-location i {
    margin-right: 6px;
    color: var(--accent);
}

/* Action Grid */
.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.glass-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 18px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    box-shadow: var(--card-shadow);
}

.glass-btn i {
    font-size: 1.5rem;
    color: var(--primary);
}

.glass-btn span {
    font-size: 0.85rem;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--primary-glow);
    box-shadow: 0 10px 25px -5px rgba(var(--primary-rgb), 0.2);
}

.pulsate {
    animation: pulsate 2s infinite;
}

/* --- Navigation: Floating Glass Navbar --- */
.glass-navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 500px;
    height: 56px;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    align-items: center;
    padding: 0 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.glass-navbar.scrolled {
    width: 90%;
    max-width: 400px;
    height: 50px;
    top: 15px;
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--primary);
}

.navbar-inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 12px;
}

.navbar-left {
    display: flex;
    justify-content: flex-start;
}

.navbar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.navbar-branding {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-mini-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.4));
    transition: var(--transition);
}

.scrolled .navbar-mini-logo {
    height: 20px;
}

@keyframes pulsate {
    0% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(var(--primary-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
}

/* Social Section */
.social-section {
    padding: 0 24px;
    margin-bottom: 40px;
}

.social-icon-grid {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 4px;
}

.social-icon-item {
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

.social-icon-item:hover {
    background: var(--primary);
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 10px 20px var(--primary-glow);
    color: white;
}

.social-icon-item i {
    transition: var(--transition);
}

/* Specific colors on hover (Optional premium touch) */
.social-icon-item:nth-child(1):hover { background: #000; } /* Threads */
.social-icon-item:nth-child(2):hover { background: #0077b5; } /* LinkedIn */
.social-icon-item:nth-child(3):hover { background: #333; } /* GitHub */
.social-icon-item:nth-child(4):hover { background: #ff0000; } /* YouTube */
.social-icon-item:nth-child(5):hover { background: #34a853; } /* Google Maps */

/* Links Section */
.links-section {
    padding: 0 24px;
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-align: left;
    padding-left: 4px;
}

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

.link-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

.link-icon {
    width: 50px;
    height: 50px;
    background: rgba(var(--secondary-rgb), 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--secondary);
    border: 1px solid rgba(var(--secondary-rgb), 0.2);
}

.link-text {
    flex: 1;
}

.link-text h3 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

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

.link-arrow {
    color: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(var(--secondary-rgb), 0.4);
    transform: translateX(8px);
}

.link-item:hover .link-arrow {
    transform: translateX(4px);
    color: var(--secondary);
}

/* Portfolio Section */
.portfolio-section {
    padding: 24px;
}

.showcase-header {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-controls {
    display: flex;
    gap: 10px;
}

.view-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.view-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px var(--primary-shadow);
}

.projects-container {
    transition: all 0.4s ease;
}

/* --- View Mode: Carousel --- */
.view-mode-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 4px 30px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.view-mode-carousel::-webkit-scrollbar { display: none; }

.view-mode-carousel .project-card {
    min-width: 260px;
    scroll-snap-align: center;
}

/* --- View Mode: Grid --- */
.view-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 480px) {
    .view-mode-grid { grid-template-columns: 1fr; }
}

/* --- View Mode: List --- */
.view-mode-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.view-mode-list .project-card {
    flex-direction: row;
    align-items: center;
    padding: 16px 20px;
    min-width: 100%;
}

.view-mode-list .project-icon-wrapper {
    margin-bottom: 0;
    margin-right: 16px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.view-mode-list .project-launch-hint {
    margin-top: 0;
    margin-left: auto;
}

/* Filter Effects */
.project-card.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.9);
}

.no-results {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

/* --- Floating Global Search --- */
.floating-search-wrapper {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px; /* Slightly narrower for mobile view */
    z-index: 1000;
    transition: var(--transition);
}

.floating-search-container {
    position: relative;
    background: var(--bg-surface-glass);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: 100px; /* Perfect rounded pill */
    padding: 10px 24px;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.global-search-input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 10px 15px 10px 40px;
    color: var(--text-main);
    font-size: 1rem;
}

.global-search-input:focus {
    outline: none;
}

.global-search-icon {
    position: absolute;
    left: 28px;
    color: var(--primary);
    font-size: 1.1rem;
}

.search-clear-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    font-size: 0.9rem;
    display: none;
}

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

/* Search States */
.searchable-item.hidden {
    display: none !important;
}

section.section-hidden {
    display: none !important;
}

.project-card {
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 24px;
    text-align: left;
    box-shadow: var(--card-shadow);
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .project-card:hover {
    box-shadow: 0 15px 45px var(--primary-glow);
}

.project-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project-content h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

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

.view-all-btn {
    display: block;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
    text-decoration: underline;
    opacity: 0.7;
    transition: var(--transition);
}

.view-all-btn:hover {
    opacity: 1;
    color: var(--primary);
}

/* Footer */
.connect-footer {
    padding-top: 60px;
    text-align: center;
}

.mini-logo {
    width: 32px;
    margin-bottom: 12px;
    opacity: 0.6;
}

.connect-footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Utilities */
.shake-on-hover:hover {
    animation: shake 0.5s;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

/* --- Skeleton Shimmer Loading --- */
.loading-state .searchable-item, 
.loading-state .section-title,
.loading-state .user-name,
.loading-state .user-title,
.loading-state .profile-avatar-wrapper,
.loading-state .cover-photo {
    position: relative;
    overflow: hidden;
    color: transparent !important;
    background: var(--bg-card) !important;
    border-color: transparent !important;
    pointer-events: none;
}

.loading-state .searchable-item::after,
.loading-state .section-title::after,
.loading-state .profile-avatar-wrapper::after,
.loading-state .cover-photo::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    animation: shimmer 1.5s infinite;
}

[data-theme="light"].loading-state .searchable-item::after {
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

/* --- NexGen: Modals --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(25px);
    width: 90%;
    max-width: 500px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    padding: 30px;
    transform: scale(0.9);
    transition: var(--transition);
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 36px; height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.modal-header { margin-bottom: 20px; text-align: left; }
.modal-title { font-size: 1.6rem; margin-bottom: 5px; color: var(--primary); }
.modal-category { font-size: 0.9rem; color: var(--text-muted); opacity: 0.8; }
.modal-body { color: var(--text-main); line-height: 1.7; margin-bottom: 25px; text-align: left; }
.modal-footer { display: flex; gap: 12px; }

.modal-btn {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

.modal-btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 15px var(--primary-shadow);
}


/* --- Location: Map --- */
.location-section {
    padding: 0 24px 60px;
}

.map-container {
    position: relative;
    padding: 10px;
    border-radius: 24px;
    background: var(--bg-surface-glass);
    overflow: hidden;
}

.map-overlay-info {
    padding: 15px 20px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    margin-top: 10px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.map-overlay-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-overlay-info i {
    color: var(--accent);
}

/* Cleanup: Small adjust to header controls for row perfect */
.vibe-btn, .theme-toggle-btn { margin: 0; }

.vibe-btn, 
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bg-surface-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.vibe-btn:hover, 
.theme-toggle-btn:hover {
    transform: translateY(-2px);
    background: var(--bg-surface);
}

.vibe-palette {
    position: absolute;
    top: 50%;
    left: 50px; /* Expand to the right since icon is on the left */
    transform: translateY(-50%) translateX(-10px);
    background: var(--bg-surface-glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.vibe-controller-wrapper.active .vibe-palette {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.color-dot {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.theme-toggle-btn i {
    position: absolute;
    transition: var(--transition);
}

[data-theme="light"] .fa-sun { opacity: 0; transform: scale(0.5) rotate(90deg); }
[data-theme="light"] .fa-moon { opacity: 1; transform: scale(1) rotate(0deg); }
body:not([data-theme="light"]) .fa-sun { opacity: 1; transform: scale(1) rotate(0deg); }
body:not([data-theme="light"]) .fa-moon { opacity: 0; transform: scale(0.5) rotate(-90deg); }

/* --- Lead Gen: Quick Connect --- */
.connect-form-section {
    padding: 0 24px 60px;
}

.quick-connect-card {
    padding: 35px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px var(--primary-shadow);
}

.glass-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.pulsate-subtle {
    position: relative;
    overflow: hidden;
}

.pulsate-subtle::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: sweep 3s infinite;
}

@keyframes sweep {
    0% { left: -100%; }
    40% { left: 150%; }
    100% { left: 150%; }
}

.form-feedback-success {
    text-align: center;
    padding: 20px 10px;
    animation: fadeInScale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-feedback-success i {
    font-size: 3.5rem;
    color: #10b981;
    margin-bottom: 15px;
}

.form-feedback-success h3 { margin-bottom: 8px; color: var(--text-main); }
.form-feedback-success p { color: var(--text-muted); font-size: 0.9rem; }

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Custom Dropdown UI Replication from Main Site */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
}

.vibe-controller-wrapper, 
.theme-toggle-wrapper,
.share-btn-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.share-btn,
.vibe-btn, 
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    padding: 0;
}

.share-btn:hover,
.vibe-btn:hover, 
.theme-toggle-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--primary-shadow);
}

/* Horizontal Vibe Menu */
.vibe-menu-horizontal {
    position: absolute;
    top: 66px;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(25px);
    padding: 10px 20px;
    border-radius: 100px;
    display: flex;
    justify-content: center; /* Center color balls inside the bar */
    gap: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 2100;
}

.vibe-menu-horizontal.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.vibe-option {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--vibe-color);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.vibe-option:hover {
    transform: scale(1.3);
    border-color: white;
}

.vibe-option.active {
    border-color: white;
    box-shadow: 0 0 10px var(--vibe-color);
}

.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.custom-select__trigger:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.custom-select.open .custom-select__trigger {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 12px 12px 0 0;
}

.custom-select__options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid var(--border-color);
    border-top: 0;
    background: #0f172a; /* Solid dark for readable dropdown content */
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 2000; /* Ensure it stays above everything */
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    max-height: 250px;
    overflow-y: auto;
}

.custom-select.open .custom-select__options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.custom-option {
    position: relative;
    display: block;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.custom-option:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: white;
    padding-left: 20px;
}

.custom-option.selected {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
    font-weight: 600;
}

.arrow {
    position: relative;
    height: 10px;
    width: 10px;
}

.arrow::before, .arrow::after {
    content: "";
    position: absolute;
    bottom: 0px;
    width: 2px;
    height: 100%;
    transition: all 0.3s;
    background-color: var(--text-muted);
}

.arrow::before {
    left: -3px;
    transform: rotate(-45deg);
}

.arrow::after {
    left: 3px;
    transform: rotate(45deg);
}

.open .arrow::before {
    transform: rotate(45deg);
}

.open .arrow::after {
    transform: rotate(-45deg);
}
