/*
   Connect Tag - App Details Page Unified Styles
   Specifically for /projects/apps/*/index.html
*/

.hero-section {
    background: linear-gradient(135deg, #006b98 0%, #004d6e 100%);
    color: #fff;
    padding: 140px 0 100px;
    text-align: right;
    position: relative;
    overflow: hidden;
}

/* Decorative elements for Hero */
.hero-section::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-section::after {
    content: "";
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 30%;
    height: 30%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-section site-breadcrumb {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
    display: block;
}

.hero-section .ct-breadcrumb-container {
    padding: 0;
    margin: 0;
}

.hero-section .ct-breadcrumb-list {
    justify-content: flex-start;
    margin: 0;
}

.hero-section .ct-breadcrumb-item,
.hero-section .ct-breadcrumb-item.active {
    color: #fff !important;
    font-size: 13px;
}

.hero-section .ct-breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600;
}

.hero-section .ct-breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5) !important;
}

.display-flex { display: flex; }
.align-items-center { align-items: center; }

.phone-mockup {
    position: relative;
    width: 280px;
    height: 580px;
    margin: 0 auto;
    border: 10px solid #1a1a1a;
    border-radius: 45px;
    background: #000;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6),
                inset 0 0 10px rgba(255,255,255,0.1);
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.phone-mockup::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1a1a1a;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 35px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}

/* Glass effect overlay */
.phone-screen::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    pointer-events: none;
}

.phone-screen img.mockup-logo {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.phone-screen i {
    color: #006b98;
    margin-bottom: 20px;
    transition: 0.3s;
}

.btn-hero {
    background: #fff;
    color: #006b98;
    border-radius: 50px;
    padding: 16px 38px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.btn-hero:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    background: #e89a2f;
    color: #fff;
    text-decoration: none;
}

.btn-secondary-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

.case-content { padding: 80px 0; background: #fff; }
.case-content h2 {
    color: #006b98;
    margin-top: 50px;
    margin-bottom: 25px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.case-content h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 3px;
    background: #e89a2f;
    border-radius: 2px;
}

.case-content p { font-size: 17px; line-height: 1.9; color: #444; }

/* Improved Features List */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.feature-item-card {
    background: #f8faff;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #edf2f7;
    transition: 0.3s;
    display: flex;
    gap: 15px;
}

.feature-item-card:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    border-color: #006b98;
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    background: #006b98;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.feature-info h4 {
    margin: 0 0 8px;
    font-weight: 700;
    color: #333;
}

.feature-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.specifications-section {
    padding: 60px;
    background: #f9f9f9;
    border-radius: 30px;
    margin-top: 60px;
    border: 1px solid #eee;
}

.spec-table {
    margin-bottom: 0;
}

.spec-table tr td {
    padding: 15px 20px !important;
    vertical-align: middle;
}

.spec-table tr td:first-child {
    font-weight: 700;
    background: #f1f5f9;
    width: 35%;
    color: #006b98;
}

@media (max-width: 991px) {
    .hero-section { text-align: center; padding: 120px 0 80px; }
    .hero-section .ct-breadcrumb-list { justify-content: center; }
    .display-flex { flex-direction: column; }
    .phone-mockup { margin-top: 60px; width: 250px; height: 520px; }
    .hero-section h1 { font-size: 2.8rem !important; }
    .hero-btns { display: flex; flex-direction: column; gap: 15px; align-items: center; }
    .btn-hero { width: 100%; max-width: 300px; justify-content: center; }
    .specifications-section { padding: 30px 15px; }
}

