/* MyBio.tel - Modern Homepage Design */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero-section h1 {
    color: white;
    font-weight: 700;
    line-height: 1.2;
}

.hero-section .badge {
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
}

.hero-section .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Quick Start Form */
.quick-start-form .input-group {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    overflow: hidden;
}

.quick-start-form .input-group-text {
    border: none;
    font-weight: 600;
    padding: 0 20px;
    background: white;
    color: #667eea;
}

.quick-start-form .form-control {
    border: none;
    padding: 20px 10px;
    font-size: 18px;
}

.quick-start-form .form-control:focus {
    box-shadow: none;
}

.quick-start-form .btn-primary {
    border: none;
    padding: 0 30px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
}

.quick-start-form .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* Feature List */
.feature-list {
    color: white;
}

.feature-list i {
    font-size: 20px;
}

/* Phone Mockup */
.phone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.phone-frame {
    width: 320px;
    height: 640px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -2px;
    transform: translateY(-50%);
    width: 3px;
    height: 40px;
    background: #333;
    border-radius: 0 3px 3px 0;
}

.phone-frame::after {
    content: '';
    position: absolute;
    top: 30%;
    right: -2px;
    width: 3px;
    height: 25px;
    background: #333;
    border-radius: 3px 0 0 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    padding: 8px 20px;
    background: white;
    font-size: 12px;
    font-weight: 600;
}

.bio-page {
    padding: 20px;
    overflow-y: auto;
    height: calc(100% - 40px);
}

.bio-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.bio-links {
    margin-top: 20px;
}

.bio-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.bio-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.bio-link i:first-child {
    font-size: 20px;
    width: 30px;
}

.bio-link i:last-child {
    font-size: 12px;
    opacity: 0.5;
}

/* Use Cases Section */
.use-cases-section {
    background: #f8f9fa;
}

.use-case-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.use-case-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* How It Works */
.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* Features Detail */
.features-detail-section {
    background: #f8f9fa;
}

.features-detail-section h3 {
    font-weight: 700;
    margin-bottom: 20px;
}

.features-detail-section ul li {
    margin-bottom: 15px;
    font-size: 16px;
}

.features-detail-section ul li i {
    margin-right: 10px;
    font-size: 18px;
}

/* Examples Section */
.example-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.example-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.example-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

/* Final CTA */
.final-cta-section {
    padding: 80px 0;
}

.final-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.cta-input .input-group {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.cta-input .input-group-text {
    background: #f8f9fa;
    border: none;
    font-weight: 600;
    color: #667eea;
}

.cta-input .form-control {
    border: none;
    padding: 15px;
}

.cta-input .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    padding: 0 30px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .phone-mockup {
        display: none;
    }

    .quick-start-form .input-group {
        flex-direction: column;
        border-radius: 15px;
    }

    .quick-start-form .input-group-text,
    .quick-start-form .form-control,
    .quick-start-form .btn {
        width: 100%;
        border-radius: 10px !important;
        margin-bottom: 10px;
    }

    .stats-section .display-4 {
        font-size: 2.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section > * {
    animation: fadeInUp 0.8s ease-out;
}

/* Analytics Demo */
.analytics-demo {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.analytics-header {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.analytics-title {
    font-weight: 600;
    color: #333;
}

.analytics-period {
    color: #666;
    font-size: 14px;
}

.analytics-content {
    padding: 30px;
}

.analytics-chart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 200px;
    margin-bottom: 30px;
}

.chart-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.chart-day .chart-bar {
    width: 100%;
    max-width: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px 5px 0 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chart-bar-today {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.chart-day .chart-bar:hover {
    transform: scaleY(1.05);
}

.chart-day .chart-bar::after {
    content: attr(data-value);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.chart-day .chart-bar:hover::after {
    opacity: 1;
}

.chart-day span {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

.analytics-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-item i {
    font-size: 24px;
    color: #667eea;
}

.stat-item strong {
    display: block;
    font-size: 20px;
    color: #333;
}

.stat-item small {
    color: #666;
    font-size: 12px;
}

/* Themes Showcase */
.themes-showcase {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.phone-preview {
    width: 200px;
    height: 400px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.phone-preview-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 22px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
}

.preview-avatar {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    margin-bottom: 15px;
}

.preview-name {
    color: white;
    margin-bottom: 20px;
}

.preview-links {
    width: 100%;
}

.preview-link {
    width: 100%;
    height: 35px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    margin-bottom: 10px;
}

.theme-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.theme-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: white;
    border: 2px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-btn.active,
.theme-btn:hover {
    border-color: #667eea;
    transform: translateX(5px);
}

.theme-color {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.dark-theme {
    background: #1a1a1a;
}

.minimal-theme {
    background: #f8f9fa;
    border: 2px solid #333;
}

.neon-theme {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* QR Code Showcase */
.qr-showcase {
    display: flex;
    justify-content: center;
}

.qr-generator-demo {
    text-align: center;
}

.qr-code-display {
    margin-bottom: 30px;
}

.qr-code {
    width: 180px;
    height: 180px;
    background: white;
    border: 2px solid #333;
    border-radius: 15px;
    padding: 20px;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.qr-corner {
    position: absolute;
    width: 35px;
    height: 35px;
    border: 3px solid #667eea;
}

.qr-corner.tl {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
    border-radius: 8px 0 0 0;
}

.qr-corner.tr {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 8px 0 0;
}

.qr-corner.bl {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 8px;
}

.qr-pixels {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 45px;
}

.qr-row {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.qr-row span {
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 2px;
    opacity: 0.8;
}

.qr-row span:nth-child(odd) {
    opacity: 0.4;
}

.qr-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.qr-center-logo i {
    color: #667eea;
    font-size: 20px;
}

.qr-url {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

.qr-options {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.qr-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qr-option:hover {
    transform: translateY(-3px);
}

.qr-option i {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 20px;
}

.qr-option span {
    font-size: 12px;
    color: #666;
}

/* Navbar Improvements */
.navbar {
    padding: 0.5rem 0 !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #667eea !important;
}

/* Remove extra spacing */
.index-container {
    padding-top: 0 !important;
}

.index-container-content {
    margin-top: 2rem !important;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: #666;
    margin-top: 5px;
}

.stat-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 100px;
}

.chart-bar {
    width: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px 5px 0 0;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    opacity: 0.8;
}

/* Themes Demo Visual */
.themes-demo-visual {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 20px;
}

.theme-preview {
    width: 120px;
    height: 180px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.theme-preview:hover {
    transform: scale(1.05);
}

.theme-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.theme-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.theme-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* QR Code Visual */
.qr-demo-visual {
    display: flex;
    justify-content: center;
    padding: 30px;
}

.qr-code-demo {
    width: 150px;
    height: 150px;
    background: white;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 10px;
    position: relative;
}

.qr-pattern {
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, #333 30%, transparent 30%),
        linear-gradient(90deg, #333 30%, transparent 30%),
        linear-gradient(90deg, #333 30%, transparent 30%);
    background-size: 10px 10px;
    background-position:
        0 0,
        0 20px,
        0 40px;
    opacity: 0.8;
}

.qr-code-demo::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    border: 3px solid #333;
    border-radius: 5px;
}

.qr-code-demo::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 3px solid #333;
    border-radius: 5px;
}

/* Dark Theme Support */
[data-theme-style="dark"] .use-cases-section,
[data-theme-style="dark"] .features-detail-section {
    background: #1a1a1a;
}

[data-theme-style="dark"] .use-case-card,
[data-theme-style="dark"] .example-card {
    background: #2a2a2a;
    color: white;
}

[data-theme-style="dark"] .bio-link {
    background: #2a2a2a;
    color: white;
}