/* Main Styles for Apps Studio Work */

/* Navigation Bar */
.nav-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1e293b; /* bg-slate-800 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 50;
    height: 5rem; /* h-20 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.nav-logo {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
}

.nav-logo:hover {
    background-color: #334155; /* hover:bg-slate-700 */
}

.nav-logo-icon {
    margin-right: 0.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    background-color: #334155; /* hover:bg-slate-700 */
}

.nav-link-icon {
    margin-right: 0.25rem;
}

/* Bottom Bar */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1e293b; /* bg-slate-800 */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 0.875rem;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    height: 3.75rem; /* h-15 */
}

.bottom-bar-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.bottom-bar-divider {
    color: #94a3b8; /* text-slate-400 */
}

@media (max-width: 640px) {
    .bottom-bar-divider {
        display: none;
    }
}

.bottom-bar-link {
    color: #60a5fa; /* text-blue-400 */
    transition: color 0.3s;
}

.bottom-bar-link:hover {
    color: #93c5fd; /* hover:text-blue-300 */
}

/* Main Container */
.main-container {
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb; /* border-gray-200 */
    margin-top: 2rem;
    margin-bottom: 2rem;
    min-height: calc(100vh - 180px);
    max-width: 1200px;
}

/* Typography */
.heading-1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1f2937; /* text-gray-800 */
    margin-bottom: 1rem;
    line-height: 1.2;
}

.heading-2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937; /* text-gray-800 */
    margin-bottom: 2rem;
    text-align: center;
}

.heading-3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.text-center {
    text-align: center;
}

.text-large {
    font-size: 1.25rem;
    color: #4b5563; /* text-gray-600 */
}

.text-medium {
    font-size: 1.125rem;
    color: #374151; /* text-gray-700 */
    margin-bottom: 1rem;
}

.text-highlight {
    font-weight: 600;
    color: #4f46e5; /* text-indigo-600 */
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    transform: scale(1);
    font-size: 1.25rem;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-primary {
    background-color: #4f46e5; /* bg-indigo-600 */
    color: white;
}

.btn-primary:hover {
    background-color: #4338ca; /* hover:bg-indigo-700 */
}

/* Card Layouts */
.card-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .card-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    padding: 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    transform: scale(1);
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: scale(1.05);
}

.card-blue {
    background-image: linear-gradient(to right, #3b82f6, #2563eb); /* from-blue-500 to-blue-600 */
}

.card-purple {
    background-image: linear-gradient(to right, #8b5cf6, #7c3aed); /* from-purple-500 to-purple-600 */
}

.card-green {
    background-image: linear-gradient(to right, #10b981, #059669); /* from-green-500 to-green-600 */
}

.card-orange {
    background-image: linear-gradient(to right, #f97316, #ea580c); /* from-orange-500 to-orange-600 */
}

.card-icon {
    height: 2.5rem;
    width: 2.5rem;
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-text {
    color: #f3f4f6; /* text-gray-100 */
    font-size: 0.875rem;
}

/* Sections */
.section {
    margin-bottom: 2.5rem;
}

.section-bg {
    background-color: #f9fafb; /* bg-gray-50 */
    padding: 1.5rem;
    border-radius: 0.5rem;
}

/* Call to Action */
.cta-section {
    text-align: center;
    background-image: linear-gradient(to right, #4f46e5, #4338ca); /* from-indigo-500 to-indigo-600 */
    padding: 2rem;
    border-radius: 0.5rem;
    color: white;
}

.cta-text {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.cta-btn {
    display: inline-block;
    background-color: white;
    color: #4f46e5; /* text-indigo-600 */
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    transform: scale(1);
}

.cta-btn:hover {
    background-color: #f9fafb; /* hover:bg-gray-100 */
    transform: scale(1.05);
}
