/* ------------------------------------------------------------------------- */
/* APPLE CORPORATE LAYOUT ENGINE - PRODUCTION STABLE BUILD                   */
/* UNIQUE FEATURE: FLUID ACCELERATED HOVER TRANSITIONS & GEOMETRIC BALANCE   */
/* ------------------------------------------------------------------------- */
:root {
    --apple-white: #ffffff;
    --apple-offwhite: #f5f5f7;
    --apple-gray-light: #e5e5ea;
    --apple-dark-text: #1d1d1f;
    --apple-muted-text: #86868b;
    --apple-link-blue: #0071e3;
    --apple-border: rgba(0, 0, 0, 0.08);
    --font-inter: 'Inter', sans-serif;
    --apple-transition-bezier: cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    background-color: var(--apple-white);
    color: var(--apple-dark-text);
    font-family: var(--font-inter);
    line-height: 1.5;
    letter-spacing: -0.015em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* APPLE-STYLE NAVBAR */
.apple-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 52px;
    z-index: 99999;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--apple-border);
}

.nav-content-bounds {
    max-width: 1024px;
    height: 100%;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-home-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--apple-dark-text);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: transform 0.3s var(--apple-transition-bezier);
}
.nav-home-logo:hover { transform: scale(1.03); }
.nav-home-logo span { font-weight: 400; color: var(--apple-muted-text); }
.brand-icon { height: 28px; width: auto; border-radius: 6px; object-fit: contain; }

.nav-link-rack { display: flex; align-items: center; gap: 2rem; }

.nav-item-tab, .dropdown-trigger {
    background: none;
    border: none;
    font-family: var(--font-inter);
    font-size: 0.85rem;
    color: rgba(29, 29, 31, 0.85);
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.3s var(--apple-transition-bezier);
    display: inline-block;
}
.nav-item-tab:hover, .dropdown-trigger:hover { color: var(--apple-link-blue); transform: scale(1.05); }

.nav-dropdown { position: relative; }
.dropdown-menu-box {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: -20px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--apple-border);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 140px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.dropdown-menu-box button {
    display: block;
    width: 100%;
    background: none;
    border: none;
    padding: 0.6rem 1rem;
    text-align: left;
    color: var(--apple-dark-text);
    font-family: var(--font-inter);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.dropdown-menu-box button:hover { background-color: var(--apple-offwhite); color: var(--apple-link-blue); transform: scale(1.02); }
.nav-dropdown:hover .dropdown-menu-box { display: block; }

.view-viewport-router { padding-top: 52px; min-height: calc(100vh - 250px); }
.apple-stage-panel { display: none; animation: appleFlickerSmooth 0.5s var(--apple-transition-bezier) forwards; }
.apple-stage-panel.active { display: block; }

@keyframes appleFlickerSmooth {
    from { opacity: 0; transform: scale(0.99) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* HERO CANVAS ACCURACY SETUP */
.hero-product-canvas { padding: 12rem 2rem 8rem; max-width: 850px; margin: 0 auto; text-align: center; }
.hero-kicker-tag { font-size: 0.95rem; font-weight: 700; color: var(--apple-muted-text); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 1rem; }
.hero-headline-text { font-size: 4.5rem; font-weight: 800; letter-spacing: -2.5px; line-height: 1.05; color: var(--apple-dark-text); margin-bottom: 1.5rem; text-align: center; }
.hero-body-subtext { font-size: 1.3rem; line-height: 1.6; color: var(--apple-muted-text); margin-bottom: 3.5rem; font-weight: 400; max-width: 750px; margin-left: auto; margin-right: auto; text-align: center; }
.hero-button-cluster { display: flex; justify-content: center; gap: 1.25rem; align-items: center; }

/* STANDARD EXPLICIT CORE BUTTONS */
.apple-btn { 
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.2rem; 
    font-family: var(--font-inter); 
    font-size: 0.95rem; 
    font-weight: 500; 
    border-radius: 999px; 
    cursor: pointer; 
    text-decoration: none; 
    transition: all 0.3s var(--apple-transition-bezier); 
    text-align: center;
}
.apple-btn-primary { background-color: var(--apple-link-blue); color: var(--apple-white); border: none; }
.apple-btn-primary:hover { background-color: #0077ed; transform: scale(1.05); box-shadow: 0 6px 20px rgba(0,113,227,0.25); }
.apple-btn-secondary { background: rgba(0, 0, 0, 0.05); border: none; color: var(--apple-dark-text); }
.apple-btn-secondary:hover { background: rgba(0, 0, 0, 0.08); transform: scale(1.05); }
.pill-btn-style { padding: 0.6rem 1.5rem; font-size: 0.85rem; font-weight: 600; height: auto; width: auto; }

/* 3-COLUMN CO-FOUNDER TEAM DESIGN (PROPORTIONAL MATRIX FIXED) */
.equal-team-container { max-width: 1140px; margin: 0 auto; padding: 6rem 2rem 8rem; text-align: center; }
.team-kicker { font-size: 0.85rem; font-weight: 700; color: var(--apple-link-blue); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 0.5rem; }
.team-main-heading { font-size: 3rem; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 1rem; text-align: center; }
.team-intro-text { font-size: 1.15rem; color: var(--apple-muted-text); max-width: 700px; margin: 0 auto 4.5rem; line-height: 1.6; text-align: center; }
.equal-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: stretch; }

.team-member-card { 
    background-color: var(--apple-offwhite); 
    border: 1px solid var(--apple-border); 
    border-radius: 24px; 
    padding: 3rem 2rem 2.5rem; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    transition: transform 0.3s var(--apple-transition-bezier), box-shadow 0.3s ease; 
}
.team-member-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }

.circle-profile-frame { width: 130px; height: 130px; border-radius: 50%; overflow: hidden; margin-bottom: 1.75rem; background-color: var(--apple-gray-light); display: flex; align-items: center; justify-content: center; border: 3px solid var(--apple-white); box-shadow: 0 8px 24px rgba(0,0,0,0.06); flex-shrink: 0; position: relative; }
.circle-profile-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.profile-text-fallback { display: none; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; color: var(--apple-white); position: absolute; top: 0; left: 0; }
.fallback-blue { background: linear-gradient(135deg, #0071e3, #34a853); }
.fallback-gray { background: linear-gradient(135deg, #86868b, #424245); }
.fallback-dark { background: linear-gradient(135deg, #1d1d1f, #86868b); }

.member-meta-block { display: flex; flex-direction: column; flex-grow: 1; width: 100%; text-align: center; }
.member-meta-block h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; color: var(--apple-dark-text); margin-bottom: 0.25rem; text-align: center; }
.member-role { font-size: 0.85rem; font-weight: 600; color: var(--apple-link-blue); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1.25rem; text-align: center; }
.member-bio { font-size: 0.95rem; color: #424245; line-height: 1.6; margin-bottom: 2rem; flex-grow: 1; text-align: center; }
.member-footer-spec { border-top: 1px solid rgba(0,0,0,0.05); padding-top: 1rem; font-size: 0.85rem; font-weight: 600; color: var(--apple-muted-text); text-transform: uppercase; letter-spacing: 0.5px; text-align: center; }

/* SHOWCASE CANVAS PANELS */
.dashboard-canvas-bounds { max-width: 1200px; margin: 0 auto; padding: 4rem 2rem; }
.premium-dashboard-card { background-color: var(--apple-white); border: 1px solid var(--apple-border); border-radius: 24px; display: grid; grid-template-columns: 260px 1fr; min-height: 650px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.08); }
.dashboard-sidebar-menu { background-color: var(--apple-offwhite); border-right: 1px solid var(--apple-border); padding: 2.5rem 1.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.sidebar-identity-header h3 { font-size: 1.1rem; font-weight: 800; }
.sidebar-identity-header p { font-size: 0.75rem; color: var(--apple-muted-text); margin-top: 0.25rem; }
.sidebar-links-stack { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 2.5rem; flex-grow: 1; }

.sidebar-nav-item { background: none; border: none; padding: 0.6rem 1rem; text-align: left; font-family: var(--font-inter); font-size: 0.9rem; font-weight: 500; color: var(--apple-dark-text); border-radius: 8px; cursor: pointer; transition: all 0.3s var(--apple-transition-bezier); }
.sidebar-nav-item:hover { background-color: rgba(0,0,0,0.04); transform: translateX(3px); }
.sidebar-nav-item.active-sub { background-color: var(--apple-gray-light); font-weight: 600; }

.dashboard-workspace-body { padding: 3rem; display: flex; flex-direction: column; }
.workspace-header-actions { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--apple-border); }
.workspace-header-actions h2 { font-size: 1.6rem; font-weight: 800; text-align: left; }
.workspace-scroll-pane { flex-grow: 1; overflow-y: auto; }
.dashboard-subview { display: none; }
.dashboard-subview.active-subview { display: block; }

/* GRAPHIC CARDS MATRIX ACCURACY LINK */
.project-hero-card { border: 1px solid var(--apple-border); border-radius: 20px; overflow: hidden; margin-bottom: 2rem; display: flex; flex-direction: column; transition: transform 0.3s var(--apple-transition-bezier); }
.project-hero-card:hover { transform: scale(1.01); }
.project-hero-image { width: 100%; height: 240px; background-size: cover; background-position: center; background-repeat: no-repeat; }
.project-hero-content { padding: 2rem; text-align: left; }
.project-hero-content h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; text-align: left; }
.project-hero-content p { font-size: 1.05rem; color: var(--apple-muted-text); line-height: 1.6; margin-bottom: 1.5rem; text-align: left; }
.project-tag-pill { display: inline-block; padding: 0.3rem 0.8rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; border-radius: 99px; margin-bottom: 1rem; text-align: center; }
.blue-pill { background: rgba(0, 113, 227, 0.1); color: var(--apple-link-blue); }
.dark-pill { background: rgba(0, 0, 0, 0.05); color: var(--apple-dark-text); }
.border-pill { border: 1px solid var(--apple-border); color: var(--apple-muted-text); }

.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.project-standard-card { border: 1px solid var(--apple-border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s var(--apple-transition-bezier); }
.project-standard-card:hover { transform: translateY(-4px); }
.project-image-box { height: 160px; width: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; }
.project-card-content { padding: 1.5rem; background-color: var(--apple-offwhite); flex-grow: 1; text-align: left; }
.project-card-content h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; text-align: left; }
.project-card-content p { font-size: 0.95rem; color: var(--apple-muted-text); line-height: 1.5; margin-bottom: 1rem; text-align: left; }
.card-inline-link { font-size: 0.95rem; font-weight: 600; color: var(--apple-link-blue); text-decoration: none; transition: transform 0.2s; display: inline-block; }
.card-inline-link:hover { text-decoration: underline; transform: translateX(2px); }

/* INTAKE CARDS RE-ALIGNMENT */
.apple-markdown-presentation-card { background-color: var(--apple-white); border: 1px solid var(--apple-border); border-radius: 24px; padding: 3.5rem; box-shadow: 0 20px 50px rgba(0,0,0,0.06); text-align: left; }
.markdown-header-block { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; border-bottom: 1px solid var(--apple-border); padding-bottom: 1.5rem; text-align: left; }
.emoji-heading { font-size: 2rem; }
.apple-markdown-presentation-card h2 { font-size: 1.6rem; font-weight: 800; text-align: left; }
.markdown-paragraph { font-size: 1.1rem; color: var(--apple-dark-text); line-height: 1.6; margin-bottom: 1.5rem; text-align: left; }
.markdown-horizontal-rule { border: none; border-top: 1px solid var(--apple-border); margin: 2.5rem 0; }
.markdown-content-section h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 1.25rem; text-align: left; }
.markdown-bullet-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; text-align: left; }
.markdown-bullet-list li { font-size: 1rem; color: var(--apple-dark-text); position: relative; padding-left: 1.5rem; line-height: 1.6; text-align: left; }
.markdown-bullet-list li::before { content: "•"; color: var(--apple-link-blue); font-size: 1.5rem; position: absolute; left: 0; top: -3px; }
.markdown-action-footer { text-align: center; }
.prompt-text { font-size: 1.05rem; font-weight: 500; margin-bottom: 1.5rem; text-align: center; }

.apple-corporate-footer { background-color: var(--apple-offwhite); padding: 4rem 2rem 2rem; font-size: 0.85rem; color: var(--apple-muted-text); }
.footer-layout-matrix { max-width: 1024px; margin: 0 auto; display: flex; justify-content: space-between; gap: 4rem; padding-bottom: 2.5rem; }
.footer-logo-brand { font-size: 1.2rem; font-weight: 800; color: var(--apple-dark-text); text-align: left; }
.footer-identity-column p { max-width: 300px; margin-top: 0.5rem; line-height: 1.5; text-align: left; }
.footer-networks-column h4 { font-size: 0.85rem; font-weight: 600; color: var(--apple-dark-text); margin-bottom: 0.75rem; text-align: left; }
.footer-links-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links-row a { color: var(--apple-muted-text); text-decoration: none; transition: color 0.2s, transform 0.2s; display: inline-block; }
.footer-links-row a:hover { color: var(--apple-dark-text); transform: scale(1.02); }
.footer-copyright-bar { max-width: 1024px; margin: 0 auto; border-top: 1px solid var(--apple-border); padding-top: 1.5rem; text-align: center; }

/* EDITORIAL GRID SYSTEM RE-ALIGNMENT */
.vision-panel-title { font-size: 3rem; font-weight: 800; text-align: center; letter-spacing: -1.5px; }
.vision-panel-subtitle { font-size: 1.2rem; color: var(--apple-muted-text); text-align: center; margin-bottom: 4rem; }
.apple-editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.editorial-card { background-color: var(--apple-offwhite); padding: 2.5rem; border-radius: 20px; text-align: left; transition: transform 0.3s var(--apple-transition-bezier); }
.editorial-card:hover { transform: scale(1.01); }
.editorial-card h3 { font-size: 1.25rem; margin-bottom: 1rem; font-weight: 700; text-align: left; }
.editorial-card p { font-size: 1rem; color: var(--apple-dark-text); line-height: 1.6; text-align: left; }

@media (max-width: 1000px) {
    .premium-dashboard-card { grid-template-columns: 1fr; }
    .dashboard-sidebar-menu { border-right: none; border-bottom: 1px solid var(--apple-border); padding: 1.5rem; }
    .sidebar-links-stack { flex-direction: row; flex-wrap: wrap; margin-top: 1.5rem; }
    .dashboard-workspace-body { padding: 1.5rem; }
    .project-grid { grid-template-columns: 1fr; }
    .equal-team-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .hero-headline-text { font-size: 3.2rem; }
    .apple-editorial-grid { grid-template-columns: 1fr; }
    .footer-layout-matrix { flex-direction: column; gap: 2rem; }
}
