:root {
    /* Color Palette - Premium & Professional matching SorixClock */
    --primary-color: #0d1b42;
    /* Deep Navy */
    --primary-dark: #070d21;
    --primary-light: #162a66;
    --secondary-color: #3b82f6;
    /* Trustworthy Blue */
    --accent-color: #10b981;
    /* Success Green */
    --dark-bg: #0f172a;
    --light-bg: #ffffff;
    --section-bg: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --grad-blue: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-top: var(--header-height);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

/* Header matching the clock app */
header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
}

header .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    /* Centered brand like before, but clean */
    align-items: center;
    width: 100%;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text span {
    color: var(--secondary-color);
}

/* Main Hub Hero */
.hero {
    padding: 6rem 2rem;
    background: radial-gradient(circle at top right, #eff6ff 0%, #f8fafc 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* App Grid */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: -2rem auto 4rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

/* App Card */
.app-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-xl);
}

.app-card:hover::before {
    opacity: 1;
}

/* Clean CSS Icons for Apps */
.icon-container {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eff6ff;
    color: var(--secondary-color);
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.app-card:hover .icon-container {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.05);
}

.app-logo-container {
    height: 80px;
    width: 100%;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.app-logo-container img {
    max-height: 100%;
    max-width: 85%;
    object-fit: contain;
}

.app-card:hover .app-logo-container {
    transform: scale(1.05);
}

.app-info {
    width: 100%;
}

.app-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.app-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.coming-soon {
    background: var(--section-bg);
    border: 1px dashed #cbd5e1;
    box-shadow: none;
    cursor: default;
}

.coming-soon:hover {
    transform: none;
    border-color: #cbd5e1;
    box-shadow: none;
}

.coming-soon .icon-container {
    background: transparent;
    color: #cbd5e1;
    border: 2px dashed #cbd5e1;
}

.coming-soon:hover .icon-container {
    background: transparent;
    color: #cbd5e1;
    transform: none;
}

.coming-soon .app-title {
    color: var(--text-muted);
}

/* Footer matching */
footer {
    background: var(--dark-bg);
    color: #94a3b8;
    padding: 3rem 0;
    text-align: center;
    margin-top: auto;
}

footer p {
    color: inherit;
    font-size: 0.9rem;
}