/* features-showcase.css - Standalone styles for the Features Showcase section */

/* Enhanced Features Showcase Section */
.features-showcase {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

/* Hexagon Background Pattern */
.hex-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
}

.hex {
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(33, 147, 176, 0.05) 0%, rgba(109, 213, 237, 0.05) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hex1 {
    top: 5%;
    left: 10%;
    transform: rotate(15deg);
    animation: float 8s infinite alternate;
}

.hex2 {
    top: 60%;
    left: 5%;
    width: 150px;
    height: 150px;
    transform: rotate(45deg);
    animation: float 12s infinite alternate-reverse;
}

.hex3 {
    top: 30%;
    right: 15%;
    transform: rotate(30deg);
    animation: float 10s infinite alternate;
}

.hex4 {
    top: 75%;
    right: 10%;
    width: 120px;
    height: 120px;
    transform: rotate(60deg);
    animation: float 9s infinite alternate-reverse;
}

.hex5 {
    top: 40%;
    left: 40%;
    width: 250px;
    height: 250px;
    opacity: 0.3;
    transform: rotate(20deg);
    animation: float 15s infinite alternate;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.features-showcase .container {
    position: relative;
    z-index: 2;
}

.features-showcase .section-header {
    margin-bottom: 60px;
}

.features-showcase .section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(33, 147, 176, 0.1);
    color: var(--dentist-blue);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.features-showcase .section-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0) 100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    to {
        left: 100%;
    }
}

.features-showcase .section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
}

.features-showcase .gradient-text {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.features-showcase .section-subtitle {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

/* Feature Cards */
.feature-card {
    display: flex;
    gap: 60px;
    margin-bottom: 100px;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s, box-shadow 0.5s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
}

.feature-card.reverse {
    flex-direction: row-reverse;
}

.feature-card:last-child {
    margin-bottom: 0;
}

/* Feature Text Content */
.feature-text {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.premium-badge {
    background: linear-gradient(135deg, #fff8f0 0%, #fff0e0 100%);
    color: #ff7e5f;
    border: 1px solid rgba(255, 126, 95, 0.3);
}

.premium-icon {
    color: #ff7e5f;
    font-size: 12px;
}

.data-badge {
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
    color: #2193b0;
    border: 1px solid rgba(33, 147, 176, 0.3);
}

.data-icon {
    color: #2193b0;
    font-size: 12px;
}

.feature-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    position: relative;
}

.feature-description {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.feature-benefits {
    list-style: none;
    margin-bottom: 30px;
}

.feature-benefits li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin-right: 12px;
    color: #2193b0;
    margin-top: 3px;
    position: relative;
}

.benefit-icon::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: rgba(33, 147, 176, 0.1);
    border-radius: 50%;
    z-index: -1;
    transform: scale(0);
    transition: transform 0.3s;
}

.feature-benefits li:hover .benefit-icon::before {
    transform: scale(1);
}

.feature-action {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 15px;
    box-shadow: 0 10px 20px rgba(33, 147, 176, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(33, 147, 176, 0.3);
}

.feature-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-cta:hover::after {
    animation: shine-button 1.5s infinite;
}

@keyframes shine-button {
    0% {
        top: -50%;
        left: -50%;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        top: 150%;
        left: 150%;
        opacity: 0;
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(33, 147, 176, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(33, 147, 176, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(33, 147, 176, 0);
    }
}

.feature-note {
    font-size: 14px;
    color: #888;
    font-style: italic;
}

/* Feature Image */
.feature-image {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.image-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(
        circle, 
        rgba(109, 213, 237, 0.1) 0%, 
        rgba(33, 147, 176, 0) 70%
    );
    z-index: 0;
    animation: rotate-glow 10s linear infinite;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

@keyframes rotate-glow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.feature-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.feature-stat {
    text-align: center;
    padding: 15px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    min-width: 120px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Writer UI Mockup */
.writer-showcase {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.writer-ui {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    background: white;
}

.writer-header {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    padding: 15px 20px;
    color: white;
}

.writer-tabs {
    display: flex;
    gap: 20px;
}

.writer-tab {
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.writer-tab.active {
    background: rgba(255, 255, 255, 0.2);
}

.writer-content {
    display: flex;
    flex: 1;
    height: calc(100% - 60px);
}

.writer-sidebar {
    width: 200px;
    background: #f8f9fa;
    border-right: 1px solid #eee;
    padding: 20px 0;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.sidebar-item:hover {
    background: rgba(33, 147, 176, 0.05);
    color: #2193b0;
}

.sidebar-item.active {
    background: rgba(33, 147, 176, 0.1);
    color: #2193b0;
    border-left: 3px solid #2193b0;
}

.writer-main {
    flex: 1;
    padding: 25px;
    position: relative;
}

.text-content {
    margin-bottom: 20px;
}

.paragraph {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 15px;
    color: #444;
    padding: 5px;
    border-radius: 5px;
    transition: background 0.3s;
}

.paragraph.highlighted {
    background: rgba(33, 147, 176, 0.05);
}

.cursor-blink {
    position: relative;
}

.cursor-blink::after {
    content: '|';
    color: #2193b0;
    animation: blink 1s infinite;
    position: absolute;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.ai-suggestion {
    background: #f8f9fa;
    border-left: 3px solid #2193b0;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin-top: 20px;
}

.suggestion-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #2193b0;
    font-weight: 600;
    font-size: 14px;
}

.suggestion-content {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Interview UI Mockup */
.interview-showcase {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.interview-ui {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 15px;
}

.interview-video {
    flex: 1;
    height: 100%;
    background: #e9ecef;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2193b0;
}

.interview-avatar {
    text-align: center;
}

.avatar-circle {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    font-size: 40px;
    color: #2193b0;
    animation: pulse-avatar 2s infinite;
}

@keyframes pulse-avatar {
    0% {
        box-shadow: 0 0 0 0 rgba(33, 147, 176, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(33, 147, 176, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(33, 147, 176, 0);
    }
}

.interview-feedback {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feedback-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.feedback-metrics {
    margin-bottom: 20px;
}

.metric {
    margin-bottom: 15px;
}

.metric-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.metric-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.metric-fill {
    height: 100%;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    border-radius: 4px;
    width: 0;
    animation: fill-bar 2s forwards;
}

@keyframes fill-bar {
    to {
        width: var(--width, 100%);
    }
}

.metric-value {
    font-size: 12px;
    color: #2193b0;
    font-weight: 600;
    text-align: right;
}

.current-question {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-top: auto;
}

.question-header {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

.question-text {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

/* Dashboard UI Mockup */
.dashboard-showcase {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.dashboard-ui {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

.dashboard-header {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-title {
    font-weight: 600;
    font-size: 18px;
}

.dashboard-controls {
    display: flex;
    gap: 15px;
}

.control-item {
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.control-item.active {
    background: rgba(255, 255, 255, 0.3);
}

.dashboard-content {
    display: flex;
    flex: 1;
    height: calc(100% - 70px);
}

.dashboard-sidebar {
    width: 200px;
    background: #f8f9fa;
    border-right: 1px solid #eee;
    padding: 20px;
}

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

.profile-pic {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #2193b0;
    font-size: 24px;
}

.match-score {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.5);
}

.score-number {
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.score-label {
    font-size: 14px;
    color: #666;
}

.sidebar-metrics {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-metric {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.metric-icon {
    width: 36px;
    height: 36px;
    background: rgba(33, 147, 176, 0.1);
    color: #2193b0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.metric-details {
    flex: 1;
}

.dashboard-main {
    flex: 1;
    padding: 20px;
}

.chart-container {
    margin-bottom: 20px;
}

.chart-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
}

.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chart-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bar-label {
    width: 140px;
    font-size: 14px;
    color: #666;
    text-align: right;
}

.bar-track {
    flex: 1;
    height: 12px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #2193b0 0%, #6dd5ed 100%);
    border-radius: 6px;
    width: 0;
    animation: fill-bar 2s forwards ease-out;
}

.bar-value {
    width: 40px;
    font-size: 14px;
    color: #2193b0;
    font-weight: 600;
}

.acceptance-trends {
    background: #f8f9fa;
    height: 150px;
    border-radius: 10px;
    position: relative;
    padding: 20px;
}

.trend-line {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: rgba(33, 147, 176, 0.3);
}

.trend-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(33, 147, 176, 0) 0%, 
        rgba(33, 147, 176, 0.5) 100%);
}

.trend-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2193b0;
    transform: translate(-50%, 50%);
}

.trend-dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: rgba(33, 147, 176, 0.2);
    animation: pulse-trend 2s infinite;
}

.trend-current {
    background: #ff7e5f;
}

.trend-current::before {
    background: rgba(255, 126, 95, 0.2);
}

@keyframes pulse-trend {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Animations */
.feature-card.animated,
.section-header.animated,
.feature-stat.animated {
    animation: fadeInUp 0.8s forwards;
}

.feature-badge.animated {
    animation: fadeInLeft 0.5s forwards;
}

.feature-title.animated {
    animation: fadeInLeft 0.5s 0.1s forwards;
}

.feature-description.animated {
    animation: fadeInLeft 0.5s 0.2s forwards;
}

.feature-benefits li.animated {
    animation: fadeInLeft 0.5s forwards;
}

.feature-cta.animated {
    animation: fadeInUp 0.5s 0.3s forwards;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .feature-card {
        padding: 40px;
        gap: 40px;
    }
    
    .features-showcase .section-title {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .feature-card, .feature-card.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .feature-benefits li {
        justify-content: center;
    }
    
    .feature-action {
        align-items: center;
    }
    
    .feature-stats {
        margin-top: 20px;
    }
    
    .features-showcase .section-title {
        font-size: 32px;
    }
    
    .writer-sidebar, .dashboard-sidebar {
        width: 160px;
    }
}

@media (max-width: 768px) {
    .feature-card {
        padding: 30px;
    }
    
    .feature-title {
        font-size: 28px;
    }
    
    .feature-description {
        font-size: 16px;
    }
    
    .features-showcase .section-subtitle {
        font-size: 16px;
    }
    
    .image-container {
        height: 350px;
    }
    
    .writer-content {
        flex-direction: column;
    }
    
    .writer-sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 10px 0;
        display: flex;
        overflow-x: auto;
    }
    
    .sidebar-item {
        padding: 10px 15px;
        white-space: nowrap;
    }
    
    .interview-ui, .dashboard-content {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .chart-bar {
        flex-wrap: wrap;
    }
    
    .bar-label {
        width: 100%;
        text-align: left;
        margin-bottom: 5px;
    }
}

@media (max-width: 576px) {
    .features-showcase {
        padding: 80px 0;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-title {
        font-size: 24px;
    }
    
    .image-container {
        height: 300px;
    }
    
    .feature-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .feature-stat {
        margin: 0 auto;
        max-width: 200px;
    }
    
    .features-showcase .section-title {
        font-size: 24px;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .hex1, .hex4 {
        display: none; /* Hide some hexagons on small screens */
    }
}