﻿body {
    font-family: 'Segoe UI', sans-serif;
    background: #f5f7fb;
}

a {
    text-decoration: none !important;
}

/* =========================
   Navbar
========================= */

.navbar-custom {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,.08);
    padding: 5px 0 !important;
    min-height: auto;
}

.navbar-brand {
    margin: 0;
    padding: 0;
    line-height: 1;
}

    .navbar-brand img {
        height: 50px;
        width: auto;
        display: block;
    }

.btn-download {
    white-space: nowrap;
    padding: 6px 12px;
    line-height: 1.2;
}

/* =========================
   Hero Section
========================= */

.hero-section {
    padding: 80px 0;
    background: linear-gradient( 135deg, #0f172a 0%, #1e293b 50%, #312e81 100% );
    color: white;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        width: 600px;
        height: 600px;
        background: rgba(255,255,255,.05);
        border-radius: 50%;
        top: -250px;
        right: -200px;
    }

.hero-title {
    font-size: 48px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 20px;
    margin-top: 15px;
    opacity: .9;
}

/* =========================
   3D Mobile
========================= */

.phone-mockup {
    perspective: 1000px;
    display: inline-block;
}

.hero-phone {
    width: 220px;
    max-width: 100%;
    transform: rotateY(-20deg) rotateX(8deg);
    filter: drop-shadow(0 15px 20px rgba(0,0,0,.25)) drop-shadow(0 30px 40px rgba(0,0,0,.20));
    animation: floating 4s ease-in-out infinite;
    transition: all .4s ease;
}

    .hero-phone:hover {
        transform: rotateY(-10deg) rotateX(4deg) scale(1.05);
    }

@keyframes floating {

    0% {
        transform: rotateY(-20deg) rotateX(8deg) translateY(0);
    }

    50% {
        transform: rotateY(-20deg) rotateX(8deg) translateY(-12px);
    }

    100% {
        transform: rotateY(-20deg) rotateX(8deg) translateY(0);
    }
}

/* =========================
   Section Titles
========================= */

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

/* =========================
   Features
========================= */

.feature-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    transition: .3s;
}

    .feature-card:hover {
        transform: translateY(-5px);
    }

/* =========================
   Gallery
========================= */

.gallery-card {
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
    transition: all .3s ease;
}

    .gallery-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,.15);
    }

    .gallery-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

.gallery-footer {
    padding: 12px 15px;
    text-align: center;
    font-weight: 600;
    color: #fff;
    background: linear-gradient( 135deg, #0f172a, #1e293b );
}

/* =========================
   Footer
========================= */

.footer {
    background: #0f172a;
    color: white;
    border-top: 3px solid #2563eb;
    padding: 30px;
    text-align: center;
}

/* =========================
   Apps.aspx Page Code CSS
========================= */

.top-header {
    background: linear-gradient( 135deg, #0f172a, #1e293b, #312e81 );
    color: white;
    padding: 60px 0;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
}

.page-subtitle {
    opacity: .85;
    font-size: 18px;
}

.app-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: .3s;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

    .app-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,0,0,.15);
    }

.app-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-icon {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid #ddd;
}

.app-name {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.company-name {
    color: #6b7280;
    margin: 0;
}

.app-body {
    padding: 0 20px 20px;
}

.app-description {
    color: #555;
    min-height: 70px;
}

.download-btn {
    width: 100%;
    border-radius: 10px;
    padding: 10px;
    font-weight: 600;
}

.search-box {
    max-width: 500px;
    margin: auto;
}

.back-btn {
    border-radius: 10px;
    padding: 10px 25px;
}

/* =========================
   Apps Table
========================= */

.app-table {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

    /* Header */

    .app-table thead th {
        background: #0f172a;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .5px;
        padding: 16px;
        border: none;
        border-bottom: 3px solid #2563eb;
    }

    /* Rows */

    .app-table tbody tr {
        transition: all .2s ease;
    }

        .app-table tbody tr:nth-child(even) {
            background: #f8fafc;
        }

        .app-table tbody tr:nth-child(odd) {
            background: #ffffff;
        }

        .app-table tbody tr:hover {
            background: #eef4ff;
            transform: scale(1.002);
        }

    /* Cells */

    .app-table td {
        padding: 14px 16px;
        vertical-align: middle;
        border-bottom: 1px solid #e5e7eb;
    }

    /* Vertical Borders */

    .app-table td,
    .app-table th {
        border-right: 1px solid #e5e7eb;
    }

        .app-table td:last-child,
        .app-table th:last-child {
            border-right: none;
        }

    /* Column Styling */

    .app-table tbody td:nth-child(2) {
        background: #ffffff;
        font-weight: 600;
        color: #111827;
    }

    .app-table tbody td:nth-child(3) {
        color: #4b5563;
    }

/* Logo */

.app-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid #d1d5db;
    background: #fff;
    padding: 2px;
}

/* Download Button */

.app-table .btn-success {
    min-width: 120px;
    border-radius: 10px;
    font-weight: 600;
    padding: 8px 18px;
    box-shadow: 0 3px 10px rgba(34,197,94,.25);
}

    .app-table .btn-success:hover {
        transform: translateY(-1px);
    }

/* Rounded Corners */

.app-table thead th:first-child {
    border-top-left-radius: 18px;
}

.app-table thead th:last-child {
    border-top-right-radius: 18px;
}

.app-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 18px;
}

.app-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 18px;
}