/* Homepage-specific styles for improved front page */

/* Phone Mockup Styles */
.phone-mockup {
    width: 200px;
    height: 360px;
    position: relative;
    margin: 0 auto;
}

.phone-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 25px;
    padding: 20px 15px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #666;
    border-radius: 2px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--background);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.bio-page-preview {
    padding: 20px 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-section {
    text-align: center;
    margin-bottom: 20px;
}

.profile-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #8a5cf6);
    margin: 0 auto 10px;
    position: relative;
    overflow: hidden;
}

.profile-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

#preview-name {
    font-size: 14px;
    font-weight: bold;
    color: var(--on-surface);
    margin: 0 0 4px 0;
}

.bio-text {
    font-size: 11px;
    color: var(--on-surface);
    opacity: 0.8;
    margin: 0;
}

.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bio-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--on-surface);
    transition: all 0.2s ease;
}

.bio-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.bio-link .material-icons {
    font-size: 16px;
    margin-right: 8px;
    color: var(--primary);
}

/* Use Case Cards */
.use-case-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Enhanced Content Creators Card */
.content-creators-card {
    position: relative;
    overflow: hidden;
}

.content-creators-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    opacity: 0.8;
}

/* Creator Header */
.creator-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
}

.creator-icon-wrapper {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), #4ecdc4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(187, 134, 252, 0.3);
}

.creator-icon-wrapper .material-icons {
    color: white;
    font-size: 24px;
}

.creator-title-section {
    flex: 1;
}

.creator-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--on-surface);
    margin: 0 0 4px 0;
}

.creator-subtitle {
    font-size: 0.875rem;
    color: var(--on-surface-medium);
    margin: 0;
    opacity: 0.8;
}

/* Creator Comparison */
.creator-comparison {
    margin: 20px 0;
}

.comparison-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--on-surface-medium);
}

.before-after-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
}

.comparison-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.comparison-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.comparison-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    width: fit-content;
}

.before-badge {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.after-badge {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.comparison-badge .material-icons {
    font-size: 14px;
}

.comparison-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), #4ecdc4);
    border-radius: 50%;
    color: white;
}

.comparison-arrow .material-icons {
    font-size: 18px;
}

/* Bio Mockups */
.bio-mockup {
    background: #1a1a1a;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 8px;
    min-height: 80px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cluttered-bio {
    background: linear-gradient(145deg, #2a1810, #1a1a1a);
    border-color: rgba(239, 68, 68, 0.3);
}

.clean-bio {
    background: linear-gradient(145deg, #1a2a1a, #0f1f0f);
    border-color: rgba(34, 197, 94, 0.3);
}

.bio-links-messy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.messy-link {
    font-size: 9px;
    color: #ccc;
    padding: 2px 0;
    opacity: 0.8;
    word-break: break-all;
}

.clean-bio-content {
    text-align: center;
    padding: 4px;
}

.clean-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #4ecdc4);
    margin: 0 auto 6px;
}

.clean-title {
    font-size: 10px;
    font-weight: bold;
    color: white;
    margin-bottom: 4px;
}

.clean-link-preview {
    font-size: 8px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.clean-cta {
    font-size: 8px;
    color: #ccc;
    opacity: 0.8;
}

/* Problem/Benefit Items */
.comparison-problems,
.comparison-benefits {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.problem-item,
.benefit-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
}

.problem-item .material-icons {
    font-size: 12px;
    color: #ef4444;
}

.benefit-item .material-icons {
    font-size: 12px;
    color: #22c55e;
}

/* Creator Features */
.creator-features {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.features-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--on-surface-medium);
    margin-bottom: 12px;
}

.features-header .material-icons {
    font-size: 16px;
    color: #fbbf24;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 6px 10px;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.feature-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.feature-pill .material-icons {
    font-size: 14px;
    color: var(--primary);
}

/* Enhanced Business & Marketing Card */
.business-card {
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8, #059669, #047857);
    opacity: 0.8;
}

/* Business Header */
.business-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
}

.business-icon-wrapper {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.business-icon-wrapper .material-icons {
    color: white;
    font-size: 24px;
}

.business-title-section {
    flex: 1;
}

.business-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--on-surface);
    margin: 0 0 4px 0;
}

.business-subtitle {
    font-size: 0.875rem;
    color: var(--on-surface-medium);
    margin: 0;
    opacity: 0.8;
}

/* Business Showcase */
.business-showcase {
    margin: 20px 0;
}

.showcase-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--on-surface-medium);
}

/* Campaign Cards */
.campaign-examples {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.campaign-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.campaign-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.campaign-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.campaign-icon {
    width: 24px;
    height: 24px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.campaign-icon .material-icons {
    font-size: 14px;
    color: #3b82f6;
}

.campaign-details {
    flex: 1;
}

.campaign-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--on-surface);
    margin-bottom: 2px;
}

.campaign-url {
    font-size: 0.75rem;
    color: var(--primary);
    font-family: monospace;
}

.campaign-stats {
    display: flex;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 0.875rem;
    font-weight: bold;
    color: #22c55e;
    display: block;
}

.stat-label {
    font-size: 0.625rem;
    color: var(--on-surface-medium);
    opacity: 0.7;
}

/* Business Features */
.business-features {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced Personal & Professional Card */
.personal-card {
    position: relative;
    overflow: hidden;
}

.personal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #a855f7, #ec4899, #f97316);
    opacity: 0.8;
}

/* Personal Header */
.personal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
}

.personal-icon-wrapper {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.personal-icon-wrapper .material-icons {
    color: white;
    font-size: 24px;
}

.personal-title-section {
    flex: 1;
}

.personal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--on-surface);
    margin: 0 0 4px 0;
}

.personal-subtitle {
    font-size: 0.875rem;
    color: var(--on-surface-medium);
    margin: 0;
    opacity: 0.8;
}

/* Portfolio Showcase */
.portfolio-showcase {
    margin: 20px 0;
}

.portfolio-preview {
    margin-top: 16px;
}

.portfolio-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.portfolio-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.portfolio-avatar .material-icons {
    color: white;
    font-size: 18px;
}

.portfolio-info {
    flex: 1;
}

.portfolio-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--on-surface);
    margin-bottom: 2px;
}

.portfolio-role {
    font-size: 0.75rem;
    color: var(--on-surface-medium);
    margin-bottom: 4px;
}

.portfolio-url {
    font-size: 0.75rem;
    color: var(--primary);
    font-family: monospace;
}

.portfolio-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portfolio-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.portfolio-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(2px);
}

.link-icon {
    width: 20px;
    height: 20px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.link-icon .material-icons {
    font-size: 12px;
    color: #8b5cf6;
}

.link-content {
    flex: 1;
}

.link-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--on-surface);
    margin-bottom: 1px;
}

.link-subtitle {
    font-size: 0.625rem;
    color: var(--on-surface-medium);
    opacity: 0.7;
}

.link-arrow {
    flex-shrink: 0;
}

.link-arrow .material-icons {
    font-size: 12px;
    color: var(--on-surface-medium);
    opacity: 0.5;
}

/* Personal Features */
.personal-features {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Before/After Comparison */
.comparison-section {
    margin: 16px 0;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.before, .after {
    text-align: center;
}

.instagram-bio-mockup {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px;
    margin-top: 8px;
    min-height: 80px;
}

.bio-text-cramped {
    font-size: 10px;
    line-height: 1.4;
    color: #ccc;
    text-align: left;
}

.bio-text-clean {
    font-size: 11px;
    line-height: 1.4;
    color: #ccc;
    text-align: center;
}

.instagram-bio-mockup.clean {
    background: rgba(187, 134, 252, 0.1);
    border-color: var(--primary);
}

/* Benefits List */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Branded Links Demo */
.branded-links-demo {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 12px;
}

.branded-link-example {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

.branded-link-example code {
    font-size: 11px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    flex: 1;
}

/* Professional Demo */
.professional-demo {
    display: flex;
    justify-content: center;
}

.mini-bio-page {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    width: 100%;
    max-width: 200px;
}

.mini-profile {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #8a5cf6);
    margin-right: 10px;
}

.mini-info h6 {
    margin: 0;
    font-size: 12px;
}

.mini-info p {
    margin: 2px 0 0 0;
    font-size: 10px;
}

.mini-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mini-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.mini-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* URL Pattern Cards */
.url-pattern-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Bio Pages Pattern Card - Enhanced */
.bio-pages-card .pattern-example {
    padding: 12px;
}

.url-pattern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        #8a5cf6 25%, 
        #06b6d4 50%, 
        #10b981 75%, 
        #f59e0b 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.url-pattern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.url-pattern-card:hover::before {
    opacity: 1;
}

.pattern-header {
    margin-bottom: 20px;
}

.pattern-header h3 {
    margin: 8px 0 4px 0;
    font-size: 16px;
}

.pattern-example {
    margin: 20px 0;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.url-demo {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 12px;
    margin-bottom: 8px;
    word-break: break-all;
}

.url-demo .domain {
    color: #ccc;
}

.url-demo .path {
    font-weight: bold;
}

.arrow {
    font-size: 14px;
    color: var(--primary);
    margin: 8px 0;
}

.destination {
    font-size: 11px;
    color: #aaa;
    font-style: italic;
}

.multi-destination {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-top: 8px;
}

.dest-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 9px;
}

.pattern-features {
    margin-top: 16px;
}

.feature {
    font-size: 12px;
    color: #ccc;
    margin: 6px 0;
    text-align: left;
}

/* Pattern Bio Preview Styles */
.pattern-bio-preview {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.pattern-preview-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pattern-preview-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #8a5cf6);
    margin-right: 8px;
    position: relative;
    overflow: hidden;
}

.pattern-preview-avatar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.pattern-preview-info h6 {
    font-size: 11px;
    font-weight: bold;
    color: var(--on-surface);
    margin: 0 0 1px 0;
    text-align: left;
}

.pattern-preview-info p {
    font-size: 9px;
    color: var(--on-surface);
    opacity: 0.7;
    margin: 0;
    text-align: left;
}

.pattern-preview-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pattern-preview-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    font-size: 10px;
    color: var(--on-surface);
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: left;
}

.pattern-preview-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.pattern-preview-link .material-icons {
    font-size: 12px;
    margin-right: 6px;
    color: var(--primary);
}

/* Bio Page Builder Styles */
.bio-page-builder {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Step Number Badges */
.step-badge {
    background: var(--primary) !important;
    color: #000000 !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
    font-weight: bold !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;
}

.builder-section {
    margin-bottom: 20px;
}

.builder-section:last-child {
    margin-bottom: 0;
}

.builder-section h4 {
    color: var(--on-surface);
    margin-bottom: 12px;
}

/* Step by step inputs */
.bio-page-builder input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--on-surface);
    font-size: 13px;
    transition: all 0.2s ease;
}

.bio-page-builder input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(187, 134, 252, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

/* Link input container */
.link-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px;
    transition: all 0.2s ease;
}

.link-input-group:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.link-input-group input {
    background: transparent;
    border: none;
    flex: 1;
    padding: 4px 8px;
    font-size: 12px;
}

.link-input-group input:focus {
    box-shadow: none;
    background: transparent;
}

.icon-selector {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 6px;
    padding: 4px 8px;
    color: var(--primary);
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.icon-selector:hover {
    background: rgba(255, 255, 255, 0.15);
}

.remove-link-btn {
    background: rgba(220, 38, 38, 0.2);
    border: none;
    border-radius: 4px;
    padding: 4px;
    color: #ef4444;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.remove-link-btn:hover {
    background: rgba(220, 38, 38, 0.3);
}

/* Add link button */
#add-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#add-link-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(187, 134, 252, 0.05);
}

/* Live Preview Container */
.bio-page-preview-container {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 200px;
}

.preview-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #8a5cf6);
    margin-right: 12px;
    position: relative;
    overflow: hidden;
}

.preview-avatar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.preview-info h5 {
    font-size: 14px;
    font-weight: bold;
    color: var(--on-surface);
    margin: 0 0 2px 0;
}

.preview-info p {
    font-size: 11px;
    color: var(--on-surface);
    opacity: 0.7;
    margin: 0;
}

.preview-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--on-surface);
    transition: all 0.2s ease;
    cursor: pointer;
}

.preview-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.preview-link .material-icons {
    font-size: 16px;
    margin-right: 10px;
    color: var(--primary);
}

.preview-link.empty-state {
    opacity: 0.5;
    font-style: italic;
    cursor: default;
}

.preview-link.empty-state:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: none;
}

/* Animation for new links */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-input-group,
.preview-link {
    animation: slideInUp 0.3s ease;
}

/* Interactive Demo Styles (legacy for compatibility) */
.bio-page-demo input#demo-name {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--on-surface);
    font-size: 14px;
}

.bio-page-demo input#demo-name:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(187, 134, 252, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .phone-mockup {
        width: 160px;
        height: 280px;
    }
    
    .before-after {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .url-pattern-card {
        padding: 16px;
    }
    
    .pattern-example {
        padding: 12px;
    }
    
    .multi-destination {
        grid-template-columns: 1fr;
    }
    
    /* CRITICAL MOBILE SUBTITLE FIX - Override all other styles */
    .ui-card__header {
        display: block !important;
        text-align: center !important;
        padding: 1rem !important;
    }
    
    .ui-card__header h2,
    .ui-card__header .ui-card__title {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 0 12px 0 !important;
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
    }
    
    .ui-card__header p,
    .ui-card__header .mobile-subtitle {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        font-size: 0.875rem !important;
        line-height: 1.4 !important;
        color: #d1d5db !important;
    }
    
    /* Force new line for specific problem elements */
    .ui-card__header h2 + p {
        margin-top: 8px !important;
    }
    
    /* Enhanced Content Creators Mobile */
    .creator-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .creator-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .creator-title {
        font-size: 1.125rem;
    }
    
    .before-after-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 16px;
    }
    
    .comparison-arrow {
        grid-row: 2;
        transform: rotate(90deg);
        margin: 8px auto;
    }
    
    .after-card {
        grid-row: 3;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .feature-pill {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    /* Enhanced Business & Personal Mobile */
    .business-header,
    .personal-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .business-icon-wrapper,
    .personal-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .business-title,
    .personal-title {
        font-size: 1.125rem;
    }
    
    .campaign-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .campaign-info {
        width: 100%;
    }
    
    .campaign-stats {
        width: 100%;
        justify-content: flex-end;
    }
    
    .portfolio-link {
        padding: 10px 12px;
    }
    
    .link-title {
        font-size: 0.8rem;
    }
    
    .link-subtitle {
        font-size: 0.7rem;
    }
    
}

/* Animation for interactive elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bio-page-demo {
    animation: fadeInUp 0.6s ease;
}

/* Hover effects for bio links in preview */
.bio-link {
    cursor: pointer;
}

.bio-link:hover {
    background: rgba(187, 134, 252, 0.2);
    border-color: var(--primary);
}

/* Stats animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.ui-stats-card__value {
    animation: countUp 0.8s ease;
}