/*
Theme Name: OnlyBish Pro Enterprise
Theme URI: https://github.com/kiblabs
Description: An ultra-premium, single-page creative showcase in the style of California minimalism.
Version: 3.1
Author: KIBI Labs Premium
License: GNU General Public License v2 or later
*/

:root {
    --bg-color: #f5f5f7;
    --section-bg: #ffffff;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --accent-yellow: #e6b800;
    --accent-glow: rgba(230, 184, 0, 0.15);
    --border-color: rgba(0, 0, 0, 0.08);
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    --blur-overlay: rgba(245, 245, 247, 0.7);
    --line-color: rgba(0, 0, 0, 0.03);
}

body.dark-theme {
    --bg-color: #000000;
    --section-bg: #161617;
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --accent-yellow: #ffd60a;
    --accent-glow: rgba(255, 214, 10, 0.15);
    --border-color: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(29, 29, 31, 0.7);
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    --blur-overlay: rgba(0, 0, 0, 0.7);
    --line-color: rgba(255, 255, 255, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

body {
    background-color: var(--bg-color);
    /* Clean gradient mixed with abstract geometric line patterns */
    background-image: 
        radial-gradient(circle at 80% 20%, var(--accent-glow) 0%, transparent 40%),
        linear-gradient(to bottom, var(--bg-color) 0%, var(--section-bg) 100%),
        linear-gradient(90deg, var(--line-color) 1px, transparent 1px),
        linear-gradient(0deg, var(--line-color) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    letter-spacing: -0.022em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Apple Style Header Sticky Bar */
.apple-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 52px;
    background: var(--blur-overlay);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 9999;
}

.nav-brand {
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
}

.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
}

.theme-toggle-btn:hover {
    background: var(--border-color);
}

/* Hero Frame Section */
.hero-section {
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.hero-greeting {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: inline-block;
}

.hero-title {
    font-size: 4.8rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--text-secondary);
    line-height: 1.4;
    font-weight: 400;
    max-width: 650px;
    margin: 0 auto 44px;
}

/* Buttons and Call to Actions */
.cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

.apple-btn {
    font-size: 1.05rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.apple-btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

.apple-btn-primary:hover {
    opacity: 0.85;
}

.apple-btn-link {
    color: var(--accent-yellow);
    font-weight: 600;
}

.apple-btn-link:hover {
    text-decoration: underline;
}

/* Detailed Scrollable Content Row */
.narrative-section {
    background-color: var(--section-bg);
    padding: 140px 40px;
    border-top: 1px solid var(--border-color);
}

.narrative-container {
    max-width: 960px;
    margin: 0 auto;
}

.narrative-body {
    font-size: 2.5rem;
    line-height: 1.25;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.narrative-dimmed {
    color: var(--text-secondary);
}

/* Premium Layout Grid Grid */
.grid-section {
    padding: 140px 40px;
    max-width: 1140px;
    margin: 0 auto;
}

.grid-headline {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: -0.03em;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.bento-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 44px;
    box-shadow: var(--card-shadow);
}

.bento-card-large {
    grid-column: span 2;
}

.card-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.card-title {
    font-size: 1.9rem;
    margin-bottom: 18px;
}

.card-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Custom Blurred Content Card Layout */
.showcase-container {
    margin-top: 40px;
    height: 400px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #222, var(--accent-yellow), #444);
}

.showcase-blur {
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(50px);
    transform: scale(1.3);
}

.showcase-lock {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    padding: 30px;
}

.lock-glyph {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

/* Footer elements */
.apple-footer {
    border-top: 1px solid var(--border-color);
    padding: 70px 40px;
    max-width: 1140px;
    margin: 0 auto;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.3rem; }
    .narrative-body { font-size: 1.8rem; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card-large { grid-column: span 1; }
    .cta-group { flex-direction: column; gap: 16px; }
}