/* Modern Index Page Redesign - Tweetly */

/* General Styling */
.section-spacing {
    padding: 80px 0;
}

.min-vh-80 {
    min-height: 80vh;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
    margin-top: 15px;
    border-radius: 3px;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.fade-left {
    transform: translateX(50px);
}

.reveal.fade-right {
    transform: translateX(-50px);
}

.reveal.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

.text-gradient-primary {
    background: linear-gradient(45deg, #0d6efd, #0dcaf0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Hero Section Styling */
.hero-clean {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-color: #121212;
}

.typewriter-cursor {
    font-weight: bold;
    animation: blink 1s infinite;
    color: #0dcaf0;
}

.typewriter-cursor.hidden {
    opacity: 0;
}

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

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.dashboard-preview {
    width: 100%;
    max-width: 560px;
    background-color: #1e1e2d;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-header {
    background-color: #151521;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.fake-controls {
    display: flex;
    gap: 6px;
    margin-right: 15px;
}

.fake-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

.fake-circle:first-child {
    background-color: #ff5f57;
}

.fake-circle:nth-child(2) {
    background-color: #febc2e;
}

.fake-circle:nth-child(3) {
    background-color: #28c840;
}

.fake-title {
    flex-grow: 1;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.dashboard-body {
    padding: 20px;
}

.dashboard-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    flex: 1;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 12px;
    border-radius: 6px;
    text-align: center;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

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

.content-calendar {
    flex: 1;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 10px;
}

.calendar-header {
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1/1;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.calendar-day.active {
    background-color: rgba(13, 110, 253, 0.3);
    position: relative;
}

.calendar-day.active::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #0d6efd;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.content-posts {
    flex: 1;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 10px;
}

.post-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.post-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    min-width: 60px;
}

.post-content {
    flex: 1;
}

.post-text {
    font-size: 13px;
    margin-bottom: 5px;
}

.post-stats {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.4;
    z-index: 1;
}

.element-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.4) 0%, rgba(13, 110, 253, 0) 70%);
    top: -50px;
    right: 20px;
}

.element-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(13, 202, 240, 0.3) 0%, rgba(13, 202, 240, 0) 70%);
    bottom: -70px;
    left: 30px;
}

.element-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(111, 66, 193, 0.3) 0%, rgba(111, 66, 193, 0) 70%);
    top: 50%;
    left: -30px;
}

/* Features Section */
.bg-subtle {
    background-color: #141414;
}

.feature-card {
    background-color: #1e1e2d;
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.feature-icon {
    display: inline-flex;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.bg-primary-subtle {
    background-color: rgba(13, 110, 253, 0.15);
    color: #0d6efd;
}

.bg-success-subtle {
    background-color: rgba(25, 135, 84, 0.15);
    color: #198754;
}

.bg-info-subtle {
    background-color: rgba(13, 202, 240, 0.15);
    color: #0dcaf0;
}

.bg-warning-subtle {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.bg-danger-subtle {
    background-color: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.bg-purple-subtle {
    background-color: rgba(111, 66, 193, 0.15);
    color: #6f42c1;
}

.feature-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 500;
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.feature-link:hover {
    color: #0a58ca;
}

.feature-link i {
    transition: transform 0.2s ease;
}

.feature-link:hover i {
    transform: translateX(5px);
}

/* How It Works */
.how-it-works-clean {
    background-color: #121212;
}

.steps-container {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

.progress-line {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
    z-index: 1;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-icon {
    font-size: 24px;
    margin-bottom: 10px;
    color: #0dcaf0;
}

/* Stats Section */
.bg-gradient-subtle {
    background: linear-gradient(135deg, #121212, #1a1a2e);
}

.stat-box {
    background-color: rgba(30, 30, 45, 0.5);
    border-radius: 10px;
    padding: 25px 15px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

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

.stat-box h3 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #0d6efd, #0dcaf0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.percent {
    font-size: 20px;
    margin-left: 2px;
    background: linear-gradient(45deg, #0d6efd, #0dcaf0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.stat-box p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.stat-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 40px;
    opacity: 0.1;
}

/* Testimonials */
.testimonials-clean {
    background-color: #121212;
}

.testimonial-card {
    background-color: #1e1e2d;
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6f42c1, #0d6efd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto;
}

.blue-avatar {
    background: linear-gradient(135deg, #0dcaf0, #0d6efd);
}

.green-avatar {
    background: linear-gradient(135deg, #20c997, #0dcaf0);
}

.rating {
    color: #ffc107;
    margin-top: 5px;
}

.testimonial-content {
    position: relative;
    padding: 10px 0 0 20px;
}

.quote-mark {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 24px;
    color: rgba(13, 110, 253, 0.3);
}

blockquote {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.impact-metrics {
    display: flex;
    margin-top: 30px;
}

.metric {
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 8px;
    padding: 10px 20px;
    margin-right: 15px;
    text-align: center;
}

.metric-value {
    font-weight: bold;
    font-size: 18px;
    color: #0d6efd;
    display: block;
}

.metric-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-indicators {
    position: relative;
    bottom: unset;
    margin-top: 30px;
    margin-bottom: 0;
}

.testimonial-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

.testimonial-indicators .active {
    background-color: #0d6efd;
}

/* Pricing Section */
.pricing-clean {
    background-color: #141414;
}

.pricing-comparison {
    background-color: #1e1e2d;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-row {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-cell {
    flex: 1;
    padding: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-cell {
    padding: 30px 15px;
    flex-direction: column;
    position: relative;
}

.popular {
    background-color: rgba(13, 110, 253, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 15px;
    background: linear-gradient(45deg, #ff9800, #ff5722);
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-bottom-left-radius: 10px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 5px rgba(255, 152, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
    }
}

.feature-name {
    text-align: left;
    justify-content: flex-start;
    font-weight: 500;
}

.plan-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.plan-price {
    margin-bottom: 15px;
}

.currency {
    font-size: 20px;
    vertical-align: top;
    position: relative;
    top: 8px;
}

.amount {
    font-size: 48px;
    font-weight: bold;
    color: #0d6efd;
}

.period {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.plan-features-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.pricing-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 20px;
}

/* CTA Section */
.cta-clean {
    background-color: #121212;
}

.cta-container {
    background: linear-gradient(135deg, #1e1e2d, #0f0f1e);
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pulse-btn {
    position: relative;
}

.pulse-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background-color: rgba(13, 110, 253, 0.4);
    z-index: -1;
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-clean {
        padding: 60px 0;
    }
    
    .dashboard-preview {
        margin-top: 40px;
    }
    
    .section-spacing {
        padding: 60px 0;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .testimonial-profile {
        margin-bottom: 30px;
    }
    
    .pricing-comparison {
        overflow-x: auto;
    }
    
    .cta-container {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .feature-card {
        margin-bottom: 20px;
    }
    
    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .progress-line {
        display: none;
    }
    
    .stat-box {
        margin-bottom: 20px;
    }
    
    .impact-metrics {
        flex-direction: column;
        gap: 10px;
    }
    
    .metric {
        margin-right: 0;
    }
    
    .pricing-cell {
        padding: 10px;
    }
    
    .header-cell {
        padding: 20px 10px;
    }
    
    .amount {
        font-size: 36px;
    }
}