/* Global Styles & Variables */
:root {
    --primary-color: #00B0FF;
    /* Cyan/Blue from new logo */
    --secondary-color: #01579B;
    /* Darker Blue/Navy */
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --container-width: 1200px;
    --sidebar-width: 250px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

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

.grid {
    display: grid;
}

/* Header */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    /* Slightly tighter padding for image logo */
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-img {
    height: 50px;
    width: auto;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-contact:hover {
    background-color: #007a8f;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 0;
    font-size: 0.9rem;
    color: #666;
    background-color: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
}

/* Main Content Area */
.main-wrapper {
    display: flex;
    padding: 40px 0;
    gap: 40px;
}

/* App Hero Design (Yellow Section) */
.app-hero-section {
    background-color: #fceea7;
    /* Yellow from screenshot */
    padding: 60px 0;
    margin-bottom: 40px;
}

.app-hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-phone-container {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* CSS Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #333;
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 2px solid #444;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.phone-screen iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* View Switcher Icons */
.view-switcher {
    display: flex;
    gap: 20px;
}

.view-icon {
    font-size: 24px;
    color: #2c3e50;
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
    background: none;
    border: none;
    padding: 5px;
}

.view-icon:hover {
    transform: scale(1.1);
    color: var(--primary-color);
}

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-cta {
    display: inline-block;
    background-color: #e74c3c;
    /* Red color */
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    background-color: #c0392b;
}

/* Modals */
.app-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.app-modal-overlay.active {
    display: flex;
}

.app-modal-content {
    background: white;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
}

/* Tablet View */
.mode-tablet .app-modal-content {
    width: 768px;
    height: 90vh;
}

/* Desktop View */
.mode-desktop .app-modal-content {
    width: 90vw;
    height: 90vh;
    max-width: 1400px;
}

.app-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.category-list li {
    margin-bottom: 10px;
}

.category-link {
    color: #555;
    font-size: 0.95rem;
    display: block;
    padding: 5px 0;
    transition: color 0.2s;
}

.category-link:hover,
.category-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.subcategory-list {
    margin-left: 15px;
    margin-top: 5px;
    border-left: 2px solid #eee;
    padding-left: 15px;
}

/* Page Content */
.page-content {
    flex: 1;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.intro-text {
    margin-bottom: 40px;
    color: #555;
}

/* App Grid */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.app-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.app-image {
    height: 180px;
    background-color: #eee;
    object-fit: cover;
    width: 100%;
}

.app-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.app-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.app-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-try {
    text-align: center;
    display: block;
    padding: 10px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-try:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: #ecf0f1;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #bdc3c7;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid hwb(206 31% 53% / 0.281);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #bdc3c7;
}

/* Responsive */
@media (max-width: 768px) {
    .main-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        margin-bottom: 30px;
    }

    .nav-menu {
        display: none;
        /* simple hide for V1 without JS toggle implementation details yet */
    }

    .header-inner {
        position: relative;
    }
}