/* ============================================
   SapCod - Branding Solutions Page Styles
   Ultra Premium Design with Creative Graphics
   ============================================ */

/* ===== Hero Section ===== */
.br-hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: 150px 0 80px; background: #fafbfc; overflow: hidden; isolation: isolate;
}
[data-theme="dark"] .br-hero { background: #060610; }

.br-hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
#brCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.br-hero-orb {
    position: absolute; border-radius: 50%; filter: blur(120px);
    opacity: 0.06; animation: brOrbFloat 12s ease-in-out infinite;
}
.br-hero-orb.br-orb-1 { width: 500px; height: 500px; background: #f59e0b; top: -150px; right: -100px; }
.br-hero-orb.br-orb-2 { width: 400px; height: 400px; background: #f43f5e; bottom: -100px; left: -80px; animation-delay: 5s; }
@keyframes brOrbFloat { 0%,100%{transform:translate(0,0)scale(1)} 50%{transform:translate(40px,-30px)scale(1.1)} }

.br-hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(245,158,11,0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(245,158,11,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at 50% 40%, black 35%, transparent 70%);
}

/* Floating shapes */
.br-shapes { position: absolute; inset: 0; }
.br-shape { position: absolute; opacity: 0.04; animation: brShapeFloat 8s ease-in-out infinite; }
.br-shape.br-circle { width: 80px; height: 80px; border: 3px solid #f59e0b; border-radius: 50%; top: 20%; left: 10%; }
.br-shape.br-triangle { width: 0; height: 0; border-left: 40px solid transparent; border-right: 40px solid transparent; border-bottom: 70px solid #f43f5e; background: none; top: 60%; right: 15%; animation-delay: 3s; }
.br-shape.br-square { width: 60px; height: 60px; border: 3px solid #8b5cf6; border-radius: 8px; bottom: 20%; left: 20%; animation-delay: 6s; }
@keyframes brShapeFloat { 0%,100%{transform:translate(0,0)rotate(0deg)} 50%{transform:translate(20px,-20px)rotate(15deg)} }

.br-hero-content { position: relative; z-index: 1; text-align: center; max-width: 850px; margin: 0 auto; }

.br-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; background: #fff; border: 1px solid #e2e8f0;
    border-radius: 50px; margin-bottom: 24px;
    font-size: 0.8rem; font-weight: 600; color: #f59e0b;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    animation: brfadeUp 0.6s ease both;
}
[data-theme="dark"] .br-hero-badge { background: #1a1a2e; border-color: #2a2a4a; }

.badge-pulse { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: brPulse 2s infinite; }
@keyframes brPulse { 0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,0.4)} 50%{box-shadow:0 0 0 12px rgba(34,197,94,0)} }

.br-hero-content h1 {
    font-size: 3.5rem; font-weight: 900; line-height: 1.12;
    color: #0f172a; margin-bottom: 18px; letter-spacing: -1.5px;
    animation: brfadeUp 0.6s ease 0.1s both;
}
[data-theme="dark"] .br-hero-content h1 { color: #f1f5f9; }

.br-gradient {
    background: linear-gradient(90deg, #f59e0b, #f43f5e, #8b5cf6, #f59e0b);
    background-size: 300% 100%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; animation: brGradientFlow 3s ease infinite;
}
@keyframes brGradientFlow { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

.br-hero-content p {
    font-size: 1.1rem; color: #64748b; line-height: 1.7;
    max-width: 600px; margin: 0 auto 30px;
    animation: brfadeUp 0.6s ease 0.2s both;
}
[data-theme="dark"] .br-hero-content p { color: #94a3b8; }

.br-hero-actions {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
    animation: brfadeUp 0.6s ease 0.3s both;
}

.br-btn-primary {
    padding: 16px 32px; background: #f59e0b; color: #fff;
    border-radius: 14px; text-decoration: none; font-weight: 700;
    display: inline-flex; align-items: center; gap: 10px;
    transition: all 0.3s; box-shadow: 0 8px 30px rgba(245,158,11,0.25);
}
.br-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(245,158,11,0.4); }

.br-btn-outline {
    padding: 16px 30px; background: #fff; color: #f59e0b;
    border: 2px solid #e2e8f0; border-radius: 14px;
    text-decoration: none; font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s;
}
[data-theme="dark"] .br-btn-outline { background: #1a1a2e; border-color: #2a2a4a; color: #fbbf24; }
.br-btn-outline:hover { border-color: #f59e0b; }

.br-hero-stats {
    display: flex; gap: 30px; justify-content: center; margin-top: 40px;
    animation: brfadeUp 0.6s ease 0.4s both;
}
.br-stat { text-align: center; }
.br-stat-icon { font-size: 1.5rem; margin-bottom: 4px; }
.br-stat-val { font-size: 1.6rem; font-weight: 800; color: #f59e0b; }
.br-stat-lbl { font-size: 0.75rem; color: #94a3b8; font-weight: 500; }

@keyframes brfadeUp { from{opacity:0;transform:translateY(25px)} to{opacity:1;transform:translateY(0)} }

/* ===== Sections Common ===== */
.br-services, .br-process, .br-tools, .br-assets, .br-cta { padding: 100px 0; }
.br-services, .br-process { background: #fff; }
[data-theme="dark"] .br-services, [data-theme="dark"] .br-process { background: #0a0a1a; }
.br-tools, .br-assets { background: #f8fafc; }
[data-theme="dark"] .br-tools, [data-theme="dark"] .br-assets { background: #0e0e22; }

.br-section-header { text-align: center; margin-bottom: 60px; }
.br-chip {
    display: inline-block; padding: 8px 18px;
    background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.12);
    border-radius: 50px; font-size: 0.78rem; font-weight: 700;
    color: #f59e0b; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px;
}
.br-section-header h2 { font-size: 2.6rem; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
[data-theme="dark"] .br-section-header h2 { color: #e8e8f0; }
.br-section-header h2 .highlight { color: #f59e0b; }
.br-section-header p { color: #888; font-size: 1rem; }

/* ===== Services Showcase ===== */
.br-services-showcase { display: flex; flex-direction: column; gap: 80px; }
.br-service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.br-service-block.reverse { direction: rtl; }
.br-service-block.reverse .br-service-info { direction: ltr; }
.br-service-visual { position: relative; display: flex; justify-content: center; }

/* Logo Mockup */
.br-logo-mockup {
    width: 100%; max-width: 440px; background: #fff; border-radius: 16px;
    padding: 24px; border: 1px solid #e2e8f0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06); animation: brFloat 5s ease-in-out infinite;
}
[data-theme="dark"] .br-logo-mockup { background: #1a1a30; border-color: #2a2a4a; }
@keyframes brFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.logo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.logo-item { display: flex; align-items: center; justify-content: center; padding: 20px; background: #f8fafc; border-radius: 12px; }
.logo-shape { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.4rem; color: #fff; }
.ls-circle { background: #f59e0b; border-radius: 50%; }
.ls-hexagon { background: #8b5cf6; clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); width: 55px; height: 55px; }
.ls-diamond { background: #f43f5e; transform: rotate(45deg); border-radius: 6px; }
.ls-diamond span { transform: rotate(-45deg); }
.ls-rounded { background: #0066ff; border-radius: 12px; }

.logo-variations { display: flex; gap: 8px; }
.logo-var { flex: 1; padding: 14px; border-radius: 10px; text-align: center; font-weight: 700; font-size: 0.75rem; }
.dark-bg { background: #1a1a2e; }
.dark-bg .var-text { color: #fff; }
.light-bg { background: #f1f5f9; border: 1px solid #e2e8f0; }
.light-bg .var-text-dark { color: #1a1a2e; }
.gradient-bg { background: linear-gradient(135deg, #f59e0b, #f43f5e); }
.gradient-bg .var-text { color: #fff; }

/* Identity Mockup */
.br-identity-mockup {
    width: 100%; max-width: 400px; background: #fff; border-radius: 16px;
    overflow: hidden; border: 1px solid #e2e8f0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06); animation: brFloat 5s ease-in-out infinite 1s;
}
[data-theme="dark"] .br-identity-mockup { background: #1a1a30; border-color: #2a2a4a; }
.identity-card { padding: 20px; }
.id-color-palette { display: flex; gap: 8px; margin-bottom: 16px; }
.id-color { flex: 1; height: 40px; border-radius: 10px; transition: transform 0.3s; }
.id-color:hover { transform: scale(1.1); }
.id-typography { display: flex; gap: 12px; margin-bottom: 16px; }
.id-font-sample { flex: 1; padding: 12px; background: #f8fafc; border-radius: 10px; }
.font-label { font-size: 0.6rem; color: #94a3b8; text-transform: uppercase; display: block; margin-bottom: 4px; }
.f-heading .font-display { font-size: 1rem; font-weight: 800; color: #0f172a; }
.f-body .font-display { font-size: 0.8rem; font-weight: 400; color: #64748b; }
.id-elements { display: flex; align-items: center; gap: 12px; padding: 14px; background: #f8fafc; border-radius: 10px; }
.id-element-circle { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #f59e0b; }
.id-element-line { flex: 1; height: 2px; background: #e2e8f0; }
.id-element-dot { width: 6px; height: 6px; border-radius: 50%; background: #f43f5e; }

/* Guidelines Mockup */
.br-guidelines-mockup {
    width: 100%; max-width: 460px; animation: brFloat 5s ease-in-out infinite 2s;
}
.guidelines-book { display: flex; gap: 4px; }
.gb-cover {
    width: 140px; padding: 30px 20px; background: linear-gradient(135deg, #f59e0b, #f43f5e);
    border-radius: 12px 4px 4px 12px; text-align: center; color: #fff; flex-shrink: 0;
}
.gb-cover-logo { font-size: 1.5rem; font-weight: 900; margin-bottom: 4px; }
.gb-cover-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 3px; opacity: 0.8; }
.gb-cover-year { font-size: 0.65rem; margin-top: 10px; opacity: 0.7; }
.gb-pages { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.gb-page { background: #fff; border-radius: 4px 8px 8px 4px; padding: 14px; border: 1px solid #e2e8f0; }
.gb-section-title { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 1px; color: #f59e0b; font-weight: 700; margin-bottom: 8px; }
.gb-logo-demo { display: flex; gap: 8px; }
.gb-logo-correct, .gb-logo-wrong { width: 30px; height: 30px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.gb-logo-correct { background: rgba(34,197,94,0.1); color: #22c55e; }
.gb-logo-wrong { background: rgba(239,68,68,0.1); color: #ef4444; }
.gb-color-row { display: flex; gap: 4px; }
.gb-color-swatch { flex: 1; height: 18px; border-radius: 4px; }

/* Social Mockup */
.br-social-mockup {
    width: 100%; max-width: 380px; background: #fff; border-radius: 16px;
    padding: 20px; border: 1px solid #e2e8f0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06); animation: brFloat 5s ease-in-out infinite 0.5s;
}
[data-theme="dark"] .br-social-mockup { background: #1a1a30; border-color: #2a2a4a; }
.social-grid { display: flex; gap: 16px; align-items: flex-start; }
.social-post { flex: 1; }
.sp-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.sp-avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #f59e0b, #f43f5e); }
.sp-name { font-size: 0.7rem; font-weight: 600; color: #0f172a; }
.sp-image { height: 100px; background: linear-gradient(135deg, #fef3c7, #fce7f3); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.sp-img-circle { width: 30px; height: 30px; border-radius: 50%; background: #f59e0b; opacity: 0.3; }
.sp-img-text { position: absolute; font-weight: 700; color: #f59e0b; font-size: 0.9rem; }
.sp-actions { display: flex; gap: 12px; font-size: 0.65rem; color: #64748b; }
.social-story { text-align: center; }
.ss-circle { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #f59e0b, #f43f5e, #8b5cf6); padding: 3px; margin-bottom: 4px; }
.ss-inner { width: 100%; height: 100%; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.55rem; font-weight: 700; color: #f59e0b; }
.ss-label { font-size: 0.6rem; color: #94a3b8; }

/* Floating Tags */
.br-float-tag {
    position: absolute; padding: 8px 16px; background: #fff;
    border-radius: 10px; font-size: 0.72rem; font-weight: 700;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06); animation: brTagFloat 3s ease-in-out infinite;
}
[data-theme="dark"] .br-float-tag { background: #1e293b; color: #e0e0e0; }
.br-float-tag.tag-top { top: -10px; right: -10px; color: #f59e0b; }
.br-float-tag.tag-bottom { bottom: -10px; left: -10px; color: #f43f5e; animation-delay: 1.5s; }
.br-float-tag.blue-tag { color: #0066ff; }
.br-float-tag.green-tag { color: #22c55e; }
@keyframes brTagFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* Service Info */
.br-service-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 16px;
}
.icon-amber{background:rgba(245,158,11,0.08);color:#f59e0b}
.icon-blue{background:rgba(0,102,255,0.08);color:#0066ff}
.icon-purple{background:rgba(139,92,246,0.08);color:#8b5cf6}
.icon-green{background:rgba(34,197,94,0.08);color:#22c55e}

.br-service-info h3 { font-size: 1.4rem; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
[data-theme="dark"] .br-service-info h3 { color: #e0e0e0; }
.br-service-info p { font-size: 0.95rem; color: #64748b; line-height: 1.7; margin-bottom: 16px; }
[data-theme="dark"] .br-service-info p { color: #94a3b8; }

.br-feature-list { list-style: none; padding: 0; }
.br-feature-list li {
    font-size: 0.88rem; color: #475569; padding: 6px 0;
    display: flex; align-items: flex-start; gap: 10px;
}
[data-theme="dark"] .br-feature-list li { color: #94a3b8; }
.br-feature-list li i { color: #22c55e; margin-top: 3px; font-size: 0.75rem; }

/* ===== Process ===== */
.br-process-flow {
    display: flex; align-items: flex-start; justify-content: center;
    gap: 0; max-width: 1000px; margin: 0 auto; flex-wrap: wrap;
}
.br-process-card {
    text-align: center; width: 180px; padding: 25px 15px;
    background: #fff; border-radius: 20px; border: 1px solid #e2e8f0;
    transition: all 0.3s; position: relative;
}
[data-theme="dark"] .br-process-card { background: #1a1a30; border-color: #2a2a4a; }
.br-process-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.06); }
.br-process-num { font-size: 2.5rem; font-weight: 900; color: rgba(245,158,11,0.08); position: absolute; top: 10px; left: 15px; line-height: 1; }
.br-process-icon-wrap {
    width: 50px; height: 50px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin: 0 auto 12px;
}
.bp-amber{background:rgba(245,158,11,0.1);color:#f59e0b}
.bp-blue{background:rgba(0,102,255,0.1);color:#0066ff}
.bp-purple{background:rgba(139,92,246,0.1);color:#8b5cf6}
.bp-green{background:rgba(34,197,94,0.1);color:#22c55e}
.br-process-card h4 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.br-process-card p { font-size: 0.8rem; color: #64748b; line-height: 1.5; margin-bottom: 8px; }
.br-process-tag { font-size: 0.65rem; padding: 4px 10px; background: #f1f5f9; border-radius: 6px; color: #f59e0b; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.br-process-connector { display: flex; flex-direction: column; align-items: center; padding: 0 10px; margin-top: 50px; }
.bpc-line { width: 40px; height: 2px; background: linear-gradient(90deg, #f59e0b, #f43f5e); opacity: 0.3; }
.bpc-arrow { color: #f59e0b; font-size: 0.7rem; margin-top: 2px; }

/* ===== Tools ===== */
.br-tools-showcase { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.br-tool-category {
    background: #fff; border-radius: 20px; padding: 35px 24px;
    text-align: center; border: 1px solid #e2e8f0; transition: all 0.3s;
}
[data-theme="dark"] .br-tool-category { background: #1a1a30; border-color: #2a2a4a; }
.br-tool-category:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.06); }
.br-tool-icon-wrap {
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(245,158,11,0.06); color: #f59e0b;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin: 0 auto 16px;
}
.br-tool-category h4 { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: 20px; }
.br-tool-orbit { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tool-bubble {
    padding: 8px 16px; background: #f1f5f9; border-radius: 20px;
    font-size: 0.8rem; font-weight: 600; color: #475569;
    transition: all 0.3s; animation: brBubbleFloat 3s ease infinite;
    animation-delay: calc(var(--i) * 0.3s);
}
[data-theme="dark"] .tool-bubble { background: #0f0f23; color: #94a3b8; }
.tool-bubble:hover { background: #f59e0b; color: #fff; transform: scale(1.05); }
@keyframes brBubbleFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ===== Assets ===== */
.br-assets-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.br-asset-card {
    background: #fff; border-radius: 18px; padding: 30px 24px;
    text-align: center; border: 1px solid #e2e8f0; transition: all 0.3s;
}
[data-theme="dark"] .br-asset-card { background: #1a1a30; border-color: #2a2a4a; }
.br-asset-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
.br-asset-icon {
    width: 55px; height: 55px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin: 0 auto 14px;
}
.a-amber{background:rgba(245,158,11,0.08);color:#f59e0b}
.a-blue{background:rgba(0,102,255,0.08);color:#0066ff}
.a-purple{background:rgba(139,92,246,0.08);color:#8b5cf6}
.a-green{background:rgba(34,197,94,0.08);color:#22c55e}
.a-rose{background:rgba(244,63,94,0.08);color:#f43f5e}
.a-teal{background:rgba(20,184,166,0.08);color:#14b8a6}
.br-asset-card h4 { font-size: 1.05rem; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.br-asset-card p { font-size: 0.85rem; color: #64748b; line-height: 1.6; }

/* ===== CTA ===== */
.br-cta-wrapper {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 28px; padding: 60px 40px; text-align: center;
    color: #fff; position: relative; overflow: hidden;
}
.br-cta-glow { position: absolute; width: 300px; height: 300px; background: rgba(255,255,255,0.05); border-radius: 50%; top: -50px; right: -50px; filter: blur(50px); }
.br-cta-wrapper h2 { font-size: 2.4rem; font-weight: 800; margin-bottom: 10px; position: relative; }
.br-cta-wrapper p { font-size: 1rem; opacity: 0.9; margin-bottom: 28px; position: relative; }
.br-cta-wrapper .br-gradient { background: linear-gradient(90deg, #fff, #fef3c7); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.br-cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.br-btn-white { padding: 16px 30px; background: #fff; color: #f59e0b; border-radius: 14px; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s; }
.br-btn-white:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .br-service-block, .br-service-block.reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
    .br-service-visual { order: -1; max-width: 400px; margin: 0 auto; }
    .br-tools-showcase, .br-assets-grid { grid-template-columns: repeat(2,1fr); }
    .br-hero-content h1 { font-size: 2.6rem; }
}
@media (max-width: 768px) {
    .br-hero-content h1 { font-size: 2rem; }
    .br-tools-showcase, .br-assets-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .br-process-flow { flex-direction: column; align-items: center; gap: 20px; }
    .br-process-card { width: 100%; max-width: 280px; }
    .br-process-connector { display: none; }
    .br-hero-stats { gap: 20px; flex-wrap: wrap; }
    .br-float-tag { display: none; }
    .br-section-header h2 { font-size: 2rem; }
    .br-cta-wrapper { padding: 40px 20px; }
    .br-cta-wrapper h2 { font-size: 1.6rem; }
    .gb-cover { width: 100px; padding: 20px 14px; }
}
@media (max-width: 480px) {
    .br-hero-content h1 { font-size: 1.7rem; }
    .br-hero-actions { flex-direction: column; align-items: center; }
    .br-btn-primary, .br-btn-outline { width: 100%; justify-content: center; }
}