/* ==========================================
    PERFECT DUAL-THEME VARIABLES
========================================= */
:root {
    /* PRO LIGHT THEME */
    --cb-bg: #eef2f6;           /* Professional Soft Off-White/Gray-Blue */
    --cb-surface: #ffffff;      /* Changed from #FAE0E7 to Pure White for B2B Professionalism */
    --cb-text-main: #0f172a;
    --cb-text-muted: #475569;
    --cb-border: #61EDD3;
    --cb-nav-bg: rgba(238, 242, 246, 0.95);

    /* Hero Specific (Light Mode) */
    --cb-hero-bg: #E9ECED;      /* Slightly deeper slate for hero depth */
    --cb-hero-fg: #0f172a;
    --cb-hero-fg-muted: #475569;
    --cb-hero-blob: rgba(29, 78, 216, 0.08);            
    
    /* Promise Box (Light Mode) */
    --cb-promise-bg: #C4DBC9;
    --cb-promise-border: #e2e8f0;

    /* Brand Colors */
    --cb-yellow: #ffca09;
    --cb-yellow-hover: #e5b508;
    --clr-primary: #1d4ed8; 
    --clr-primary-glow: #3b82f6;
    --clr-gold: #f59e0b;
    --clr-gold-dark: #b45309;
    --clr-upwork: #14a800;
    --clr-whatsapp: #25D366;
    --clr-danger: #ef4444;

    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    /* Clean Shadows */
    --shadow-soft: 0 10px 25px -5px rgba(0,0,0,0.06);
    --shadow-hard: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    --shadow-float: 0 20px 40px -10px rgba(0,0,0,0.15);
    --shadow-tab-active: inset 0 5px 10px rgba(0,0,0,0.04);
}

/* Dark Theme Override */
body.dark-theme {
    --cb-bg: #0b1220;           
    --cb-surface: #131e32;      
    --cb-text-main: #f8fafc; 
    --cb-text-muted: #94a3b8; 
    --cb-border: #1e2d4a;
    --cb-nav-bg: rgba(11, 18, 32, 0.95);

    /* Hero Specific (Dark Mode) */
    --cb-hero-bg: #0b1220;
    --cb-hero-fg: #ffffff;
    --cb-hero-fg-muted: #94a3b8;
    --cb-hero-blob: rgba(255, 204, 9, 0.12);
    
    /* Promise Box (Dark Mode) */
    --cb-promise-bg: #0f192b;
    --cb-promise-border: #1e2d4a;

    --shadow-soft: 0 10px 25px -5px rgba(0,0,0,0.5);
    --shadow-hard: 0 20px 40px -10px rgba(0,0,0,0.7);
    --shadow-float: 0 30px 60px -15px rgba(0,0,0,0.8);
    --shadow-tab-active: inset 0 5px 15px rgba(0,0,0,0.5);
}

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--cb-bg); color: var(--cb-text-main); line-height: 1.6; overflow-x: hidden; transition: background-color 0.4s ease, color 0.4s ease; }
html { scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 6.5rem 0; }

/* UTILITY CLASSES (Replaced Inline Styles) */
.text-primary { color: var(--clr-primary); }
body.dark-theme .text-primary { color: var(--cb-yellow); }
.text-success { color: var(--clr-upwork); }
.text-danger { color: var(--clr-danger); }
.mb-1 { margin-bottom: 1.2rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mb-3 { margin-bottom: 2.5rem; }
.ml-1 { margin-left: 5px; }
.fw-bold { font-weight: 700; }
.fw-extrabold { font-weight: 800; }
.fs-lg { font-size: 1.8rem; }
.fs-md { font-size: 1.15rem; }
.fs-sm { font-size: 0.95rem; }
.text-center { text-align: center; }

/* ==========================================
    TYPOGRAPHY & BUTTONS
========================================= */
.text-gradient { background: linear-gradient(to right, var(--clr-primary-glow), var(--clr-gold)); -webkit-background-clip: text; color: transparent; }
.section-label { color: var(--clr-primary); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; display: block; margin-bottom: 1rem; }

body.dark-theme .section-label { color: var(--cb-yellow); }

.section-header { text-align: center; margin-bottom: 4rem; max-width: 800px; margin-inline: auto; }
.section-header h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 900; line-height: 1.2; letter-spacing: -0.5px; color: var(--cb-text-main);}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0.8rem 2rem; border-radius: 8px; font-weight: 700; font-size: 0.95rem; transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); cursor: pointer; text-align: center; position: relative; }
.btn-lg { padding: 0.9rem 1.8rem; font-size: 1rem; }

.btn-upwork { background: var(--clr-upwork); color: #ffffff; box-shadow: 0 4px 0 #0f7a00, 0 10px 20px rgba(20, 168, 0, 0.2); border: none; }
.btn-upwork:hover { transform: translateY(-3px); box-shadow: 0 7px 0 #0f7a00, 0 15px 25px rgba(20, 168, 0, 0.3); color: white;}
.btn-upwork:active { transform: translateY(4px); box-shadow: 0 0 0 #0f7a00; }

.btn-yellow { background: var(--cb-yellow); color: #231f20; box-shadow: 0 4px 16px rgba(255,202,9,0.25); padding: 0.6rem 1.4rem; border-radius: 8px; font-weight: 800; font-size: 0.9rem; }
.btn-yellow:hover { background: var(--cb-yellow-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,202,9,0.35); color: #111;}

.btn-outline { background: transparent; color: var(--cb-text-main); border: 2px solid var(--cb-border); padding: 0.8rem 1.5rem; border-radius: 8px; font-weight: 700; display: inline-flex; align-items: center;}
.btn-outline:hover { border-color: var(--clr-primary); color: var(--clr-primary); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
body.dark-theme .btn-outline:hover { border-color: var(--cb-yellow); color: var(--cb-yellow); }

/* ==========================================
    3D ICON EFFECTS & WHATSAPP
========================================= */
@keyframes pulse-3d {
    0% { transform: scale(1) translateY(0); box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { transform: scale(1.05) translateY(-5px); box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6), 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1) translateY(0); box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.fab-whatsapp { 
    position: fixed; bottom: 30px; right: 30px; 
    background: linear-gradient(135deg, #25D366, #128C7E); 
    color: white; width: 60px; height: 60px; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 2rem; z-index: 9999;
    animation: pulse-3d 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255,255,255,0.2);
}
.fab-whatsapp:hover { animation-play-state: paused; transform: scale(1.15) translateY(-10px) rotate(10deg); color: white;}

.hover-3d { transition: transform 0.4s ease, box-shadow 0.4s ease; transform-style: preserve-3d; }
.hover-3d:hover { transform: translateY(-6px); box-shadow: var(--shadow-hard); z-index: 10; }

.icon-pop { display: inline-block; transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s ease, text-shadow 0.4s ease; }
.trigger-icon:hover .icon-pop, .icon-pop:hover { 
    transform: rotate(360deg) scale(1.3); 
    color: var(--clr-primary); 
    text-shadow: 1px 1px 0 #1e3a8a, 2px 2px 0 #1e3a8a, 3px 3px 6px rgba(0,0,0,0.3);
    z-index: 20;
}
body.dark-theme .trigger-icon:hover .icon-pop, body.dark-theme .icon-pop:hover {
    color: var(--cb-yellow);
    text-shadow: 1px 1px 0 #b45309, 2px 2px 0 #b45309, 3px 3px 6px rgba(0,0,0,0.5);
}

/* ==========================================
    NAV MENU
========================================= */
.cb-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    height: 68px; padding: 0 1.5rem;
    background: var(--cb-nav-bg); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cb-border);
    transition: background 0.3s, border-color 0.3s;
}

.logo-wrap { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.6rem; letter-spacing: -0.5px; color: var(--cb-text-main); transition: 0.3s; }
.logo-wrap:hover { transform: scale(1.02); }

.cb-nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.cb-nav-links a { font-size: 14px; font-weight: 600; color: var(--cb-text-muted); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: inline-block; padding: 5px 0; }

.cb-nav-links a:hover, .cb-nav-links a.active { 
    color: var(--clr-primary); font-weight: 800; transform: scale(1.05); 
}
body.dark-theme .cb-nav-links a:hover, body.dark-theme .cb-nav-links a.active { color: var(--cb-yellow); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
    width: 38px; height: 38px; border-radius: 8px;
    background: var(--cb-surface); border: 1px solid var(--cb-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--cb-text-muted); cursor: pointer; transition: 0.3s;
    position: relative;
}
.theme-toggle:hover { color: var(--clr-primary); border-color: var(--clr-primary); transform: scale(1.1); }
body.dark-theme .theme-toggle:hover { color: var(--cb-yellow); border-color: var(--cb-yellow); }

.theme-toggle::before {
    content: attr(data-tooltip); position: absolute; bottom: -35px; left: 50%; transform: translateX(-50%);
    background: var(--cb-text-main); color: var(--cb-bg);
    padding: 5px 10px; border-radius: 5px; font-size: 0.75rem; font-weight: 600;
    white-space: nowrap; opacity: 0; visibility: hidden; transition: 0.3s;
}
.theme-toggle:hover::before { opacity: 1; visibility: visible; }

.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--cb-text-muted); cursor: pointer; padding: 5px; }

@media (max-width: 992px) {
    .cb-nav-links { display: none; position: absolute; top: 68px; left: 0; width: 100%; background: var(--cb-surface); flex-direction: column; padding: 1.5rem; border-bottom: 1px solid var(--cb-border); box-shadow: var(--shadow-hard);}
    .cb-nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .desktop-btn { display: none !important; }
    .cb-nav { padding: 0 1rem; }
}

/* ==========================================
    HERO SECTION
========================================= */
.cb-hero { 
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding-top: 100px; padding-bottom: 5rem;
    background-color: var(--cb-hero-bg); overflow: hidden; 
    transition: background-color 0.4s ease;
}

.cb-hero-dots {
    position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
    background-image: radial-gradient(circle, var(--cb-border) 1.5px, transparent 1.5px);
    background-size: 32px 32px; transition: 0.4s;
}
.cb-hero-blob-1 { position: absolute; width: 640px; height: 640px; top: -160px; right: -120px; background: radial-gradient(circle, var(--cb-hero-blob) 0%, transparent 68%); border-radius: 50%; pointer-events: none; transition: 0.4s;}
.cb-hero-blob-2 { position: absolute; width: 360px; height: 360px; bottom: -80px; left: -80px; background: radial-gradient(circle, var(--cb-hero-blob) 0%, transparent 70%); border-radius: 50%; pointer-events: none; transition: 0.4s;}

.cb-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 4rem; align-items: center; position: relative; z-index: 10; width: 100%; }

.cb-hero-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 0.4rem 1rem; margin-bottom: 1.5rem;
    background: rgba(29, 78, 216, 0.1); border: 1px solid rgba(29, 78, 216, 0.2);
    color: var(--clr-primary); border-radius: 50px; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;
}
body.dark-theme .cb-hero-pill { background: rgba(255, 204, 9, 0.15); border-color: rgba(255, 204, 9, 0.3); color: var(--cb-yellow); }

.cb-hero h1 { font-size: clamp(2.4rem, 4vw, 3.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 1rem; letter-spacing: -1px; color: var(--cb-hero-fg); transition: 0.4s;}
.cb-hero p { font-size: 1.1rem; color: var(--cb-hero-fg-muted); margin-bottom: 2.5rem; max-width: 580px; font-weight: 500; line-height: 1.6; transition: 0.4s;}

.promise-box { 
    background: var(--cb-promise-bg); padding: 3.5rem 3rem; border-radius: var(--radius-xl); 
    box-shadow: var(--shadow-float); border: 1px solid var(--cb-promise-border);
    border-top: 4px solid var(--clr-primary); transition: all 0.4s ease;
}
body.dark-theme .promise-box { border-top-color: var(--cb-yellow); }

.promise-box h3 { display: flex; align-items: center; gap: 12px; font-size: 1.8rem; margin-bottom: 2rem; font-weight: 900; color: var(--cb-text-main); }
.promise-list li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 1.5rem; font-size: 1.1rem; font-weight: 600; color: var(--cb-text-main); cursor: default; }
.promise-list i { color: var(--clr-whatsapp); margin-top: 4px; font-size: 1.4rem; }
.promise-box .sub-text { font-size: 0.9rem; color: var(--cb-text-muted); display: block; margin-top: 4px; font-weight: 500; }

.cb-ticker-section { margin-top: 1.5rem; }
.cb-ticker-label { font-size: 0.75rem; font-weight: 700; color: var(--cb-text-muted); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 2px; }
.cb-ticker-mask { overflow: hidden; mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); width: 100%; max-width: 600px;}

.cb-ticker-track { display: flex; gap: 3rem; width: max-content; align-items: center; animation: logo-ticker 25s linear infinite; }
.tool-item { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; font-weight: 700; color: var(--cb-hero-fg-muted); opacity: 0.7; transition: 0.3s; cursor: default;}
.tool-item i { font-size: 1.6rem; }
.tool-item:hover { color: var(--clr-primary); opacity: 1; transform: scale(1.1); }
body.dark-theme .tool-item:hover { color: var(--cb-yellow); }

@keyframes logo-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ==========================================
    BOTTLENECK SECTION
========================================= */
.bottleneck-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.bento-card-3d { background: var(--cb-surface); padding: 3rem 2.5rem; border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); border: 1px solid var(--cb-border); }
.bento-card-3d h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 12px; }
.fail-box { border-top: 4px solid var(--clr-danger); }
.fail-box h3 { color: var(--clr-danger); }
.success-box { border-top: 4px solid var(--clr-upwork); }
.success-box h3 { color: var(--clr-upwork); }
.list-3d li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 1.2rem; font-size: 1.05rem; font-weight: 600; color: var(--cb-text-main);}
.list-3d i { margin-top: 4px; font-size: 1.2rem; }

/* ==========================================
    ABOUT SECTION
========================================= */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 5rem; align-items: center; }
.about-image { border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); border: 8px solid var(--cb-surface); object-fit: cover; }
.highlight-box { background: var(--cb-surface); border-left: 6px solid var(--clr-primary); padding: 1.8rem; border-radius: 0 16px 16px 0; margin-bottom: 2rem; box-shadow: var(--shadow-soft);}
body.dark-theme .highlight-box { border-left-color: var(--cb-yellow); }

/* ==========================================
    TABS SECTION
========================================= */
.tabs-container { background: var(--cb-surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); overflow: hidden; border: 1px solid var(--cb-border); margin-top: 2rem; }
.tabs-header { display: flex; background: var(--cb-bg); border-bottom: 1px solid var(--cb-border); padding: 10px 10px 0 10px; gap: 5px;}

.tab-btn { 
    flex: 1; padding: 1.5rem 1rem; text-align: center; font-weight: 800; font-size: 1.1rem; 
    color: var(--cb-text-muted); cursor: pointer; transition: all 0.3s ease; 
    display: flex; align-items: center; justify-content: center; gap: 12px; 
    border: 1px solid transparent; border-bottom: none;
    background: var(--cb-bg); border-radius: 12px 12px 0 0;
    box-shadow: inset 0 -5px 10px rgba(0,0,0,0.02); transform: translateY(2px);
}
.tab-btn:hover { color: var(--clr-primary); }
body.dark-theme .tab-btn:hover { color: var(--cb-yellow); }

.tab-btn.active { 
    color: var(--cb-text-main); background: var(--cb-surface); border-color: var(--cb-border);
    border-top: 4px solid var(--clr-primary); box-shadow: var(--shadow-tab-active);
    transform: translateY(0); z-index: 2;
}
body.dark-theme .tab-btn.active { border-top-color: var(--cb-yellow); }

.tab-content { padding: 4rem 3rem; display: none; animation: fadeIn 0.4s ease-in-out; background: var(--cb-surface); position: relative; z-index: 1;}
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.tab-inner-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }

.tech-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5rem; }
.tech-card { display: inline-flex; align-items: center; gap: 8px; background: var(--cb-bg); padding: 0.6rem 1.2rem; border-radius: 8px; font-weight: 700; font-size: 0.9rem; border: 1px solid var(--cb-border); transition: 0.3s; cursor: default; color: var(--cb-text-main);}
.tech-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-color: var(--clr-primary); }
body.dark-theme .tech-card:hover { border-color: var(--cb-yellow); }
.tab-image { border-radius: 1rem; box-shadow: var(--shadow-soft); border: 1px solid var(--cb-border); object-fit: cover; aspect-ratio: 4/3;}

/* ==========================================
    WORK SAMPLES & FOOTER
========================================= */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.work-card { background: var(--cb-surface); padding: 3rem 2.5rem; border-radius: var(--radius-xl); text-align: center; border-bottom: 5px solid var(--clr-primary); box-shadow: var(--shadow-soft); border-top: 1px solid var(--cb-border); border-left: 1px solid var(--cb-border); border-right: 1px solid var(--cb-border);}
body.dark-theme .work-card { border-bottom-color: var(--cb-yellow); }
.work-icon { font-size: 3rem; color: var(--clr-primary); margin-bottom: 1.5rem; }
body.dark-theme .work-icon { color: var(--cb-yellow); }
.work-card h3 { font-size: 2.5rem; font-weight: 900; color: var(--cb-text-main); line-height: 1; margin-bottom: 0.5rem; letter-spacing: -1px; }

.site-footer { background: var(--cb-hero-bg); color: var(--cb-text-muted); text-align: center; padding: 3rem 0; border-top: 1px solid var(--cb-border);}
.social-circle { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 50%; background: var(--cb-surface); color: var(--cb-text-main); font-size: 1.2rem; transition: 0.3s; margin: 0 8px; border: 1px solid var(--cb-border); box-shadow: var(--shadow-soft);}
.social-circle:hover { background: var(--clr-primary); transform: translateY(-5px); color: white; border-color: var(--clr-primary);}
body.dark-theme .social-circle:hover { background: var(--cb-yellow); color: #111; border-color: var(--cb-yellow);}

/* Responsive */
@media (max-width: 992px) {
    .cb-hero-grid { grid-template-columns: 1fr; gap: 3rem;}
    .cb-hero { min-height: auto; padding: 8rem 0 4rem; }
    .about-grid, .tab-inner-grid { grid-template-columns: 1fr; gap: 3rem;}
    .tab-btn { padding: 1.2rem 0.5rem; font-size: 0.95rem; flex-direction: column; gap: 5px;}
    .tab-content { padding: 3rem 2rem; }
}

/* ==========================================
    ABOUT PAGE SPECIFIC STYLES
========================================= */
.container-read { max-width: 850px; margin: 0 auto; padding: 0 2rem; }

.about-hero { padding-top: 130px; padding-bottom: 4rem; background: var(--cb-hero-bg); position: relative; overflow: hidden;}
.candid-img-wrapper { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-hard); border: 1px solid var(--cb-border); }
.candid-img-wrapper::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.2), transparent); pointer-events: none; }
.candid-img-wrapper img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.article-h2 { font-size: clamp(2rem, 3.5vw, 2.5rem); font-weight: 900; line-height: 1.2; letter-spacing: -0.5px; color: var(--cb-text-main); margin-bottom: 1.5rem; }
.article-h2-large { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.article-p { font-size: 1.15rem; color: var(--cb-text-muted); margin-bottom: 1.5rem; font-weight: 500; }

.editorial-section { background: var(--cb-bg); border-top: 1px solid var(--cb-border); border-bottom: 1px solid var(--cb-border);}
.quote-box { border-left: 4px solid var(--clr-primary); padding-left: 1.5rem; margin: 2rem 0; font-style: italic; color: var(--cb-text-main); font-size: 1.25rem; font-weight: 600;}
body.dark-theme .quote-box { border-left-color: var(--cb-yellow); }

.clean-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.clean-card { background: var(--cb-surface); padding: 2.5rem 2rem; border-radius: var(--radius-lg); border: 1px solid var(--cb-border); transition: 0.3s; }
.clean-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.clean-card i { font-size: 2rem; color: var(--clr-primary); margin-bottom: 1.5rem; }
body.dark-theme .clean-card i { color: var(--cb-yellow); }
.clean-card h4 { font-size: 1.25rem; font-weight: 800; margin-bottom: 1rem; color: var(--cb-text-main); }
.clean-card p { font-size: 1.05rem; color: var(--cb-text-muted); line-height: 1.6; margin: 0;}

.personal-box { background: var(--cb-surface); border-radius: var(--radius-xl); padding: 3rem; margin-top: 4rem; border: 1px dashed var(--cb-border); text-align: center; box-shadow: var(--shadow-soft);}
.personal-box h3 { font-size: 1.8rem; font-weight: 900; margin-bottom: 1rem; color: var(--cb-text-main); display: flex; justify-content: center; align-items: center; gap: 10px;}

@media (max-width: 992px) {
    .personal-box { padding: 2rem; }
}
/* ==========================================
    WORK SAMPLES (PORTFOLIO) PAGE STYLES
========================================= */
.page-banner { position: relative; padding: 10rem 0 5rem; overflow: hidden; background-color: var(--cb-hero-bg); transition: 0.4s; }

/* Renamed from work-grid to portfolio-grid to avoid homepage conflict */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; position: relative; z-index: 5; }

/* Renamed from bento-card-3d to portfolio-card */
.portfolio-card { 
    background: var(--cb-surface); padding: 1.5rem; border-radius: var(--radius-xl); 
    box-shadow: var(--shadow-soft); border: 1px solid var(--cb-border); 
    display: flex; flex-direction: column; justify-content: space-between;
    transition: transform 0.4s ease, box-shadow 0.4s ease; transform-style: preserve-3d;
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hard); z-index: 10; }

.portfolio-img-wrap { overflow: hidden; border-radius: 12px; border: 1px solid var(--cb-border); margin-bottom: 1.5rem; }
.portfolio-img { width: 100%; height: 220px; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.portfolio-card:hover .portfolio-img { transform: scale(1.05); }

.project-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--clr-primary); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; background: rgba(29, 78, 216, 0.1); padding: 0.4rem 1rem; border-radius: 50px; border: 1px solid rgba(29, 78, 216, 0.2);}
body.dark-theme .project-tag { background: rgba(255, 204, 9, 0.15); color: var(--cb-yellow); border-color: rgba(255, 204, 9, 0.3); }

.portfolio-card h3 { color: var(--cb-text-main); font-size: 1.4rem; font-weight: 800; line-height: 1.3; margin-bottom: 0.8rem; letter-spacing: -0.5px; }
.portfolio-card p { color: var(--cb-text-muted); font-size: 1rem; line-height: 1.6; margin-bottom: 2rem; font-weight: 500;}

@media (max-width: 992px) {
    .page-banner { padding: 8rem 0 3rem; }
}

/* ==========================================
    REVIEWS PAGE SPECIFIC STYLES
========================================= */
.trust-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(20, 168, 0, 0.1); color: var(--clr-upwork); padding: 0.5rem 1.2rem; border-radius: 50px; font-weight: 800; font-size: 0.9rem; margin-bottom: 1.5rem; border: 1px solid rgba(20, 168, 0, 0.2); }

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; position: relative; z-index: 5; }

.review-card { 
    background: var(--cb-surface); padding: 2.5rem 2rem; border-radius: var(--radius-xl); 
    box-shadow: var(--shadow-soft); border: 1px solid var(--cb-border); 
    display: flex; flex-direction: column; justify-content: space-between;
    position: relative;
}

.quote-icon-bg { position: absolute; top: 1.5rem; right: 2rem; font-size: 3rem; color: var(--cb-border); opacity: 0.3; }

.review-stars { color: var(--cb-yellow); font-size: 1.1rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 4px;}
.review-rating-number { font-weight: 800; color: var(--cb-text-main); margin-left: 8px; font-size: 1.2rem;}

.review-quote { font-size: 1.15rem; color: var(--cb-text-main); font-style: italic; line-height: 1.7; margin-bottom: 2rem; font-weight: 500;}

.client-info { border-top: 1px solid var(--cb-border); padding-top: 1.5rem; margin-top: auto;}
.client-info h4 { color: var(--cb-text-main); font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; line-height: 1.4;}
.verified-contract { display: inline-flex; align-items: center; gap: 6px; color: var(--clr-upwork); font-size: 0.85rem; font-weight: 700; background: rgba(20, 168, 0, 0.1); padding: 0.3rem 0.8rem; border-radius: 4px;}

.btn-upwork-large { background: var(--clr-upwork); color: #ffffff; box-shadow: 0 4px 0 #0f7a00, 0 10px 20px rgba(20, 168, 0, 0.2); border: none; padding: 1rem 2rem; border-radius: 8px; font-weight: 800; font-size: 1.1rem; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; margin-top: 2rem;}
.btn-upwork-large:hover { transform: translateY(-3px); box-shadow: 0 7px 0 #0f7a00, 0 15px 25px rgba(20, 168, 0, 0.3); color: white;}
.btn-upwork-large:active { transform: translateY(4px); box-shadow: 0 0 0 #0f7a00; }

@media (max-width: 992px) {
    .reviews-grid { grid-template-columns: 1fr; }
}

/* ==========================================
    CONTACT PAGE SPECIFIC STYLES
========================================= */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; position: relative; z-index: 5; }

/* INFO CARDS (Left Side) */
.info-card { display: flex; align-items: center; gap: 1.2rem; background: var(--cb-surface); padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--cb-border); margin-bottom: 1.5rem; transition: 0.3s; box-shadow: var(--shadow-soft);}
.info-card:hover { transform: translateX(10px); box-shadow: var(--shadow-hard); border-color: var(--clr-primary); }
body.dark-theme .info-card:hover { border-color: var(--cb-yellow); }

.info-icon { font-size: 1.6rem; color: var(--clr-primary); width: 55px; height: 55px; display: flex; align-items: center; justify-content: center; background: var(--cb-bg); border-radius: 50%; border: 1px solid var(--cb-border);}
body.dark-theme .info-icon { color: var(--cb-yellow); }

.info-text h4 { font-size: 1.1rem; font-weight: 800; color: var(--cb-text-main); margin-bottom: 0.2rem; }
.info-text a, .info-text p { color: var(--cb-text-muted); font-size: 0.95rem; font-weight: 600; }
.info-text a:hover { color: var(--clr-primary); }
body.dark-theme .info-text a:hover { color: var(--cb-yellow); }

/* CONTACT FORM (Right Side) */
.contact-form-panel { background: var(--cb-surface); padding: 3rem; border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); border: 1px solid var(--cb-border); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 700; color: var(--cb-text-main); margin-bottom: 0.5rem; font-size: 0.95rem; }

.form-control { 
    width: 100%; padding: 1rem 1.2rem; border-radius: 8px; border: 1px solid var(--cb-border); 
    background: var(--cb-bg); color: var(--cb-text-main); font-family: inherit; font-size: 1rem; 
    transition: 0.3s; font-weight: 500;
}
.form-control:focus { border-color: var(--clr-primary); outline: none; box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1); }
body.dark-theme .form-control:focus { border-color: var(--cb-yellow); box-shadow: 0 0 0 4px rgba(255, 204, 9, 0.15); }

textarea.form-control { min-height: 150px; resize: vertical; }

.btn-submit { 
    width: 100%; background: var(--clr-primary); color: white; padding: 1rem; 
    border-radius: 8px; font-weight: 800; font-size: 1.1rem; border: none; 
    cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(29, 78, 216, 0.3); }
body.dark-theme .btn-submit { background: var(--cb-yellow); color: #111; }
body.dark-theme .btn-submit:hover { box-shadow: 0 10px 20px rgba(255, 204, 9, 0.3); }

.privacy-note { text-align: center; margin-top: 1.5rem; font-size: 0.85rem; color: var(--cb-text-muted); font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px;}

@media (max-width: 992px) {
    .contact-grid, .form-row { grid-template-columns: 1fr; gap: 2rem;}
    .contact-form-panel { padding: 2rem; }
    .info-card:hover { transform: translateY(-5px); transform: translateX(0); }
}

/* ==========================================
    SUCCESS PAGE SPECIFIC STYLES
========================================= */
.main-content { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; padding: 120px 0 60px; overflow: hidden; }

.success-card {
    background: var(--cb-surface); padding: 4rem 3rem; border-radius: var(--radius-xl);
    box-shadow: var(--shadow-float); border: 1px solid var(--cb-border);
    border-top: 5px solid var(--clr-upwork); text-align: center; max-width: 600px; width: 100%;
    position: relative; z-index: 5;
    margin: 0 auto;
}

/* Pulsing Check Animation */
@keyframes success-pulse {
    0% { box-shadow: 0 0 0 0 rgba(20, 168, 0, 0.4); }
    70% { box-shadow: 0 0 0 25px rgba(20, 168, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(20, 168, 0, 0); }
}

.check-circle {
    width: 100px; height: 100px; background: rgba(20, 168, 0, 0.1); color: var(--clr-upwork);
    border: 2px solid rgba(20, 168, 0, 0.2); border-radius: 50%; margin: 0 auto 2rem;
    display: flex; align-items: center; justify-content: center; font-size: 3rem;
    animation: success-pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.success-card h1 { font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 900; color: var(--cb-text-main); margin-bottom: 1rem; letter-spacing: -0.5px;}
.success-card p { font-size: 1.15rem; color: var(--cb-text-muted); font-weight: 500; margin-bottom: 2.5rem; line-height: 1.6;}

/* Form Footer Adjustment for Success Page */
.site-footer-success { text-align: center; padding: 2rem 0; font-size: 0.95rem; color: var(--cb-text-muted); font-weight: 500; position: relative; z-index: 5;}

@media (max-width: 992px) {
    .success-card { padding: 3rem 2rem; }
}
/* ==========================================
    404 ERROR PAGE SPECIFIC STYLES
========================================= */
.error-card {
    background: var(--cb-surface); padding: 4rem 3rem; border-radius: var(--radius-xl);
    box-shadow: var(--shadow-float); border: 1px solid var(--cb-border);
    border-top: 5px solid var(--clr-danger); text-align: center; max-width: 600px; width: 100%;
    position: relative; z-index: 5; margin: 0 auto;
}
body.dark-theme .error-card { border-top-color: var(--cb-yellow); }

.error-icon-wrap {
    width: 80px; height: 80px; background: rgba(239, 68, 68, 0.1); color: var(--clr-danger);
    border: 2px solid rgba(239, 68, 68, 0.2); border-radius: 50%; margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
}
body.dark-theme .error-icon-wrap { background: rgba(255, 204, 9, 0.15); color: var(--cb-yellow); border-color: rgba(255, 204, 9, 0.3); }

.error-code {
    font-size: clamp(5rem, 8vw, 7rem); font-weight: 900; line-height: 1; margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--clr-primary-glow), #8b5cf6);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
body.dark-theme .error-code { background: linear-gradient(to right, var(--cb-yellow), #f97316); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.error-card h2 { font-size: clamp(1.8rem, 3vw, 2.2rem); font-weight: 800; color: var(--cb-text-main); margin-bottom: 1rem; letter-spacing: -0.5px;}
.error-card p { font-size: 1.1rem; color: var(--cb-text-muted); font-weight: 500; margin-bottom: 2.5rem; line-height: 1.6;}

.site-footer-minimal { text-align: center; padding: 2rem 0; font-size: 0.95rem; color: var(--cb-text-muted); font-weight: 500; position: relative; z-index: 5;}

@media (max-width: 992px) {
    .error-card { padding: 3rem 2rem; }
}