.main-content {
    position: relative;
    z-index: 10;
    margin-top: 7rem;
}

/* Header */
.top-header {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(192, 108, 80, 0.2);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-btn, .edit-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.page-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

/* Profile Header Card */
.profile-header {
    background: linear-gradient(135deg, rgba(192, 108, 80, 0.15), rgba(212, 163, 115, 0.15));
    border-radius: 24px;
    padding: 2rem 1.5rem;
    border: 2px solid rgba(192, 108, 80, 0.3);
    margin: 1.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(192, 108, 80, 0.1), transparent);
    pointer-events: none;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--cyan-primary);
    box-shadow: 0 0 30px rgba(192, 108, 80, 0.5);
    margin: 0 auto 1.5rem;
    object-fit: cover;
    position: relative;
}

.profile-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--cyan-primary);
    margin-bottom: 0.5rem;
}

.profile-email {
    color: #5C5A58;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.member-since {
    display: inline-block;
    background: rgba(192, 108, 80, 0.2);
    color: var(--cyan-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-top: 0.75rem;
    border: 1px solid rgba(192, 108, 80, 0.3);
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0 1rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(192, 108, 80, 0.5), transparent);
}

/* Info Card */
.info-card {
    background: linear-gradient(to bottom right, rgba(192, 108, 80, 0.08), rgba(212, 163, 115, 0.08));
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(192, 108, 80, 0.2);
    margin-bottom: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-label {
    font-size: 0.875rem;
    color: #5C5A58;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-value {
    font-size: 1.05rem;
    color: white;
    font-weight: 500;
}

/* Agent Card */
.agent-card {
    background: linear-gradient(135deg, rgba(192, 108, 80, 0.12), rgba(212, 163, 115, 0.12));
    border-radius: 24px;
    padding: 2rem 1.5rem;
    border: 2px solid rgba(192, 108, 80, 0.3);
    margin-bottom: 1.5rem;
}

.agent-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(192, 108, 80, 0.2);
}

.agent-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--cyan-primary);
    box-shadow: 0 0 20px rgba(192, 108, 80, 0.4);
    object-fit: cover;
    flex-shrink: 0;
}

.agent-info {
    flex: 1;
}

.agent-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.agent-experience {
    display: inline-block;
    background: rgba(192, 108, 80, 0.2);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(192, 108, 80, 0.3);
}

.agent-description {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.agent-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(192, 108, 80, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(192, 108, 80, 0.15);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Agent Images Gallery */
.agent-gallery {
    margin-bottom: 1.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(192, 108, 80, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-item:hover {
    border-color: var(--cyan-primary);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(192, 108, 80, 0.4);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Section */
.agent-video {
    margin-bottom: 1.5rem;
}

.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(192, 108, 80, 0.3);
    box-shadow: 0 8px 24px rgba(192, 108, 80, 0.3);
    background: rgba(192, 108, 80, 0.05);
}

.video-placeholder {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(192, 108, 80, 0.1), rgba(212, 163, 115, 0.1));
    cursor: pointer;
    position: relative;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1758273241090-b7d744465ce6?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHx0aGVyYXB5JTIwaGVhbGluZyUyMHNlc3Npb258ZW58MXx8fHwxNzY1Nzg1MzY3fDA&ixlib=rb-4.1.0&q=80&w=1080') center/cover;
    opacity: 0.3;
}

.play-button {
    position: relative;
    width: 80px;
    height: 80px;
    background: rgba(192, 108, 80, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(192, 108, 80, 0.5);
    transition: all 0.3s;
}

.video-placeholder:hover .play-button {
    background: var(--cyan-primary);
    transform: scale(1.1);
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 24px solid white;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    margin-left: 6px;
}

.video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(253, 251, 247, 0.95), transparent);
    padding: 2rem 1.5rem 1rem;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Contact Agent Button */
.contact-agent-btn {
    width: 100%;
    background: var(--terracotta);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(192, 108, 80, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.contact-agent-btn:hover {
    background: var(--terracotta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(192, 108, 80, 0.5);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.action-card {
    background: rgba(192, 108, 80, 0.08);
    border: 1px solid rgba(192, 108, 80, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.action-card:hover {
    background: rgba(192, 108, 80, 0.15);
    transform: translateY(-3px);
    border-color: var(--cyan-primary);
}

.action-icon {
    width: 56px;
    height: 56px;
    background: rgba(192, 108, 80, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    border: 1px solid rgba(192, 108, 80, 0.3);
}

.action-icon i {
    color: var(--cyan-primary);
    font-size: 1.5rem;
}

.action-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
}

@media (min-width: 768px) {
    .profile-header {
        padding: 2.5rem 2rem;
    }

    .profile-avatar {
        width: 140px;
        height: 140px;
    }

    .profile-name {
        font-size: 2rem;
    }

    .quick-actions {
        grid-template-columns: repeat(4, 1fr);
    }

    .agent-header {
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    .agent-avatar {
        width: 100px;
        height: 100px;
    }

    .agent-name {
        font-size: 1.75rem;
    }

    .gallery-grid {
        gap: 1rem;
    }
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(253, 251, 247, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(192, 108, 80, 0.2);
    padding: 0.75rem 0;
    z-index: 100;
}

.nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: #5C5A58;
    text-decoration: none;
    padding: 0.5rem;
    transition: all 0.3s;
}

.nav-item.active {
    color: var(--cyan-primary);
}

.nav-item i {
    font-size: 1.5rem;
}

.nav-label {
    font-size: 0.75rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .bottom-nav {
        display: none;
    }
}
@media(max-width: 768px){
    .main-content {
        margin-top: 6rem;
    }
}