/* App Showcase Styles */

.hero-premium {
    min-height: 700px;
    padding: 4rem 0 6rem;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.gradient-orb.top-left {
    width: 500px;
    height: 500px;
    top: -10%;
    left: -5%;
    background: radial-gradient(circle, rgba(212, 168, 106, 0.15), transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.gradient-orb.bottom-right {
    width: 600px;
    height: 600px;
    bottom: -15%;
    right: -10%;
    background: radial-gradient(circle, rgba(26, 77, 109, 0.08), transparent 70%);
    animation: float 8s ease-in-out infinite reverse;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem 0;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(212, 168, 106, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 168, 106, 0.2);
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Phone Showcase */
.phone-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-device {
    width: 320px;
    height: 650px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 50px;
    padding: 12px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3), 0 0 80px rgba(212, 168, 106, 0.2), inset 0 0 40px rgba(212, 168, 106, 0.08);
    position: relative;
    animation: phoneFloat 5s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
    transition: transform 0.3s ease;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.02);
    }
}

.phone-device:hover {
    animation-play-state: paused;
    transform: translateY(-25px) scale(1.03);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 45px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: white;
}

.screen-content {
    padding: 50px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.app-title {
    letter-spacing: 1px;
}

.app-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.onboarding-carousel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    min-height: 150px;
    overflow: hidden;
}

.carousel-item {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: absolute;
    pointer-events: none;
    visibility: hidden;
    z-index: 0;
    width: 100%;
    left: 0;
    top: 0;
}

.carousel-item.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    position: relative;
    pointer-events: auto;
    visibility: visible;
    z-index: 10;
    animation: slideAndFadeCarousel 0.6s ease-out;
    width: 100%;
    left: auto;
    top: auto;
}

@keyframes slideAndFadeCarousel {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        visibility: visible;
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        visibility: visible;
    }
}

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

.carousel-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    min-height: 3.5rem;
}

.carousel-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.4;
    white-space: normal;
}

.carousel-item p {
    font-size: 0.85rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    white-space: normal;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 0 0;
    position: relative;
    z-index: 5;
}

.dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.dot.active {
    width: 20px;
    border-radius: 3px;
    background: var(--accent-color);
}

/* App Flow Section */
.app-flow {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f5f1ed 0%, #fefdfb 100%);
}

.app-flow .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    animation: slideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    width: 100%;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    animation: fadeIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.flow-group {
    margin-bottom: 4rem;
    animation: slideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    width: 100%;
}

.flow-group:nth-child(2) { animation-delay: 0.1s; }
.flow-group:nth-child(3) { animation-delay: 0.2s; }
.flow-group:nth-child(4) { animation-delay: 0.3s; }
.flow-group:nth-child(5) { animation-delay: 0.4s; }

.flow-group-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 3px solid var(--accent-color);
    font-weight: 700;
    width: 100%;
}

/* Screen Grid - 5 columns */
.screen-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 1200px) {
    .screen-grid-5 {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .screen-grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .screen-grid-5 {
        grid-template-columns: 1fr;
    }
}

.screen-card {
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
    cursor: pointer;
}

.screen-card:nth-child(1) { animation-delay: 0s; }
.screen-card:nth-child(2) { animation-delay: 0.08s; }
.screen-card:nth-child(3) { animation-delay: 0.16s; }
.screen-card:nth-child(4) { animation-delay: 0.24s; }
.screen-card:nth-child(5) { animation-delay: 0.32s; }

.screen-preview {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 20px;
    padding: 1.5rem;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(212, 168, 106, 0.2);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.screen-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.screen-preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(212, 168, 106, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.screen-card:hover .screen-preview {
    transform: translateY(-14px) scale(1.03) perspective(1000px) rotateX(2deg);
    box-shadow: 0 30px 80px rgba(212, 168, 106, 0.35), 0 0 40px rgba(212, 168, 106, 0.1);
}

.screen-card:hover .screen-preview::before {
    opacity: 1;
}

.screen-card:hover .screen-preview::after {
    opacity: 1;
}

.screen-header {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.screen-content-demo {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
}

.demo-option,
.demo-input,
.demo-gender,
.demo-name,
.demo-code,
.demo-id-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-profile-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
}

.demo-avatar {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.demo-match,
.demo-security,
.demo-feature,
.demo-like,
.demo-activity,
.demo-boost,
.demo-payment {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
}

.demo-message {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.6rem;
    border-radius: 8px;
    font-size: 0.75rem;
    margin: 0.3rem 0;
}

.demo-message-right {
    background: var(--accent-color);
    color: var(--primary-color);
    text-align: right;
    padding: 0.6rem;
    border-radius: 8px;
    font-size: 0.75rem;
    margin: 0.3rem 0;
}

.demo-call {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 0.8rem;
}

.demo-btn {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.demo-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.demo-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 168, 106, 0.5);
}

.demo-btn:active::before {
    width: 300px;
    height: 300px;
}

.screen-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* Features Grid */
.features-grid {
    padding: 6rem 0;
    background: white;
}

.features-grid .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1200px) {
    .features-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-showcase {
        grid-template-columns: 1fr;
    }
}

.feature-large {
    background: linear-gradient(135deg, #ffffff 0%, #fafaf9 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 168, 106, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.feature-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 168, 106, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: var(--border-radius);
}

.feature-large:hover::before {
    transform: scaleX(1);
}

.feature-large:hover::after {
    opacity: 1;
}

.feature-large:hover {
    transform: translateY(-15px);
    box-shadow: 0 35px 80px rgba(212, 168, 106, 0.25);
    border-color: rgba(212, 168, 106, 0.3);
}

.feature-icon-large {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.feature-large h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-large p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-checklist {
    list-style: none;
    gap: 0.8rem;
    display: flex;
    flex-direction: column;
}

.feature-checklist li {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Trust Premium Section */
.trust-premium {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.trust-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 106, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.trust-premium::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.trust-content {
    position: relative;
    z-index: 2;
}

.trust-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.trust-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.trust-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.12);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.metric-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(212, 168, 106, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.metric-card:hover::before {
    opacity: 1;
}

.metric-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.metric-detail {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-premium {
        min-height: auto;
        padding: 4rem 0;
    }

    .screen-grid-5 {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .screen-preview {
        height: 220px;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-badges {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .phone-device {
        width: 280px;
        height: 580px;
    }

    .screen-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-content h2 {
        font-size: 2rem;
    }

    .features-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .screen-grid-5 {
        grid-template-columns: 1fr;
    }

    .trust-metrics {
        grid-template-columns: 1fr;
    }
}
